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