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