37 const bool isDict =
dict.isDict(
name);
63 <<
" " << modelTypeName <<
endl;
65 dictionaryConstructorTable::iterator cstrIter =
66 dictionaryConstructorTablePtr_->find(modelTypeName);
68 if (cstrIter == dictionaryConstructorTablePtr_->end())
71 <<
"Unknown " <<
typeName <<
" type "
74 << dictionaryConstructorTablePtr_->sortedToc()
80 return cstrIter()(modelCoeffsDict);
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalTypeDict(const word &typeName) const
Find and return an optional type sub-dictionary.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Constant saturation temperature model.
static autoPtr< saturationTemperatureModel > New(const word &name, const dictionary &dict)
Select with name within a dictionary.
A token holds items read from Istream.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
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.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
const dimensionSet & dimTemperature
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.