Go to the documentation of this file.
35 const bool loadFromFiles,
39 const word modelType(
dict.lookup(
"type"));
43 Info<<
"Selecting " << typeName <<
" " << modelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(modelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown " << typeName <<
" type "
53 << modelType <<
nl <<
nl
54 <<
"Valid " << typeName <<
" types are:" <<
nl
55 << dictionaryConstructorTablePtr_->sortedToc()
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
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)
static autoPtr< fieldValue > New(const word &name, const objectRegistry &obr, const dictionary &dict, const bool loadFromFiles=false, const bool output=true)
Return a reference to the selected fieldValue.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const complex &)
Return a string representation of a complex.