36 const word modelType(
dict.lookup(
"model"));
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(modelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown film ejection model "
47 << modelType <<
nl <<
nl
48 <<
"Valid film ejection models are:" <<
nl
49 << dictionaryConstructorTablePtr_->toc()
56 dict.optionalTypeDict(modelType)
61 cstrIter()(
dict.optionalTypeDict(modelType), film)
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static autoPtr< ejectionModel > New(const dictionary &dict, const solvers::isothermalFilm &film)
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Solver module for flow of compressible isothermal liquid films.
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.