36 word diameterModelType
38 dict.lookup(
"diameterModel")
41 Info <<
"Selecting diameterModel for phase "
44 << diameterModelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(diameterModelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown diameterModel type "
54 <<
"Valid diameterModel types are : " <<
endl
55 << dictionaryConstructorTablePtr_->sortedToc()
61 dict.optionalSubDict(diameterModelType +
"Coeffs"),
static autoPtr< diameterModel > New(const dictionary &diameterProperties, const phaseModel &phase)
Select from dictionary and phase.
const phaseModel & phase() const
Return the phase.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this phase.
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.