36 word departureDiameterModelType(
dict.lookup(
"type"));
38 Info<<
"Selecting departureDiameterModel: "
39 << departureDiameterModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(departureDiameterModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown departureDiameterModel type "
48 << departureDiameterModelType <<
endl <<
endl
49 <<
"Valid departureDiameterModel types are : " <<
endl
50 << dictionaryConstructorTablePtr_->sortedToc()
54 return cstrIter()(
dict);
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< departureDiameterModel > New(const dictionary &dict)
Select null constructed.
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.