38 Info<<
" Selecting " << typeName <<
" " << modelType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(modelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown " << typeName <<
" type " 47 << modelType <<
nl <<
nl 48 <<
"Valid " << typeName <<
" types are:" <<
nl 49 << dictionaryConstructorTablePtr_->sortedToc()
static autoPtr< trimModel > New(const fv::rotorDiskSource &rotor, const dictionary &dict)
Return a reference to the selected trim model.
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.
Cell based momentum source which approximates the mean effects of rotor forces on a cylindrical regio...
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.