36 const word model(
dict.lookup(
"model"));
39 <<
"Selecting laminar flame speed model " << model <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(model);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 ) <<
"Unknown laminarFlameSpeed model "
51 <<
"Valid laminarFlameSpeed types are :" <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
59 .optionalTypeDict(model)
60 .optionalSubDict(
dict.lookupOrDefault<
word>(
"fuel",
"unknown"))
66 dict.optionalTypeDict(model)
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static autoPtr< laminarFlameSpeed > New(const dictionary &, const uRhoMulticomponentThermo &)
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Base-class for combustion fluid thermodynamic properties based on compressibility.
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.