40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(restraintType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown restraint type " 47 << restraintType <<
nl <<
nl 48 <<
"Valid restraint types are : " <<
endl 49 << dictionaryConstructorTablePtr_->sortedToc()
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.
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints...
static autoPtr< restraint > New(const word &name, const dictionary &dict, const rigidBodyModel &model)
Select constructed from the dict dictionary and Time.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.