33 return New(NullObjectRef<word>(),
dict);
64 const word modelTypeName =
74 Info<<
"Selecting " << typeName <<
" " << modelTypeName <<
endl;
76 dictionaryConstructorTable::iterator cstrIter =
77 dictionaryConstructorTablePtr_->find(modelTypeName);
79 if (cstrIter == dictionaryConstructorTablePtr_->end())
82 <<
"Unknown " << typeName <<
" << type "
84 <<
"Valid " << typeName <<
" types are : " <<
endl
85 << dictionaryConstructorTablePtr_->sortedToc()
89 return cstrIter()(coeffsDict);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Constant saturation pressure model.
static autoPtr< saturationPressureModel > New(const dictionary &dict)
Select with dictionary.
A token holds items read from Istream.
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)
const dimensionSet dimPressure
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
bool isType(const Type &t)
Check the typeid.
bool isNull(const T &t)
Return true if t is a reference to the nullObject of type T.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.