38 Info<<
"Selecting rigidBodySolver " << rigidBodySolverType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(rigidBodySolverType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown rigidBodySolverType type " 47 << rigidBodySolverType << endl << endl
48 <<
"Valid rigidBodySolver types are : " << endl
49 << dictionaryConstructorTablePtr_->sortedToc()
53 return cstrIter()(body,
dict);
static autoPtr< rigidBodySolver > New(rigidBodyMotion &body, const dictionary &dict)
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Six degree of freedom motion for a rigid body.
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.