38 const word aspectRatioModelType(
dict.lookup(
"type"));
41 << aspectRatioModelType <<
endl;
43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(aspectRatioModelType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown aspectRatioModel type "
50 << aspectRatioModelType <<
endl <<
endl
51 <<
"Valid aspectRatioModel types are : " <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
58 return cstrIter()(
dict, interface);
static autoPtr< aspectRatioModel > New(const dictionary &dict, const phaseInterface &interface)
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.