38 const word aspectRatioModelType(
dict.lookup(
"type"));
40 Info<<
"Selecting aspectRatioModel for "
41 << interface.
name() <<
": " << 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()
56 return cstrIter()(
dict, interface);
static autoPtr< aspectRatioModel > New(const dictionary &dict, const phaseInterface &interface)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.