37 const word restraintType
39 sDoFRBMRDict.
lookup(
"sixDoFRigidBodyMotionRestraint")
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(restraintType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 "sixDoFRigidBodyMotionRestraint::New" 51 "const dictionary& sDoFRBMRDict" 53 ) <<
"Unknown sixDoFRigidBodyMotionRestraint type " 54 << restraintType <<
nl <<
nl 55 <<
"Valid sixDoFRigidBodyMotionRestraint types are : " <<
endl 56 << dictionaryConstructorTablePtr_->sortedToc()
62 cstrIter()(
name, sDoFRBMRDict)
word name(const complex &)
Return a string representation of a complex.
A class for handling words, derived from string.
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...
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static autoPtr< sixDoFRigidBodyMotionRestraint > New(const word &name, const dictionary &sDoFRBMRDict)
Select constructed from the sDoFRBMRDict dictionary and Time.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...