Go to the documentation of this file.
38 const word modelType =
dict.subDict(modelName).lookup(
"type");
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(modelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown region model function type "
49 << modelType <<
nl <<
nl
50 <<
"Valid region model function types are:" <<
nl
51 << dictionaryConstructorTablePtr_->sortedToc()
60 dict.subDict(modelName),
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< regionModelFunctionObject > New(const dictionary &dict, regionModel &owner, const word &modelType)
Selector.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.