46 IOobject::MUST_READ_IF_MODIFIED,
53 Info<<
"Selecting SRFModel " << modelType <<
endl;
55 dictionaryConstructorTable::iterator cstrIter =
56 dictionaryConstructorTablePtr_->find(modelType);
58 if (cstrIter == dictionaryConstructorTablePtr_->end())
61 <<
"Unknown SRFModel type " 62 << modelType <<
nl <<
nl 63 <<
"Valid SRFModel types are :" <<
nl 64 << dictionaryConstructorTablePtr_->sortedToc()
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static autoPtr< SRFModel > New(const volVectorField &Urel)
Return a reference to the selected SRF model.
A class for handling words, derived from string.
const word & constant() const
Return constant name.
const Time & time() const
Return time.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const objectRegistry & db() const
Return the local objectRegistry.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.