32 const dictionary& dict
35 word saturationModelType(dict.lookup(
"type"));
37 Info<<
"Selecting saturationModel: " 38 << saturationModelType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(saturationModelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown saturationModelType type " 47 << saturationModelType << endl << endl
48 <<
"Valid saturationModel types are : " << endl
49 << dictionaryConstructorTablePtr_->sortedToc()
53 return cstrIter()(
dict);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static autoPtr< saturationModel > New(const dictionary &dict)
Select null constructed.
Ostream & endl(Ostream &os)
Add newline and flush stream.