49 <<
"Constructing thermophysicalFunction" 53 const word thermophysicalFunctionType(is);
55 IstreamConstructorTable::iterator cstrIter =
56 IstreamConstructorTablePtr_->find(thermophysicalFunctionType);
58 if (cstrIter == IstreamConstructorTablePtr_->end())
61 <<
"Unknown thermophysicalFunction type " 62 << thermophysicalFunctionType
64 <<
"Valid thermophysicalFunction types are :" <<
endl 65 << IstreamConstructorTablePtr_->sortedToc()
81 <<
"Constructing thermophysicalFunction" 85 const word thermophysicalFunctionType(dict.
lookup(
"functionType"));
87 dictionaryConstructorTable::iterator cstrIter =
88 dictionaryConstructorTablePtr_->find(thermophysicalFunctionType);
90 if (cstrIter == IstreamConstructorTablePtr_->end())
93 <<
"Unknown thermophysicalFunction type " 94 << thermophysicalFunctionType
96 <<
"Valid thermophysicalFunction types are :" <<
endl 97 << dictionaryConstructorTablePtr_->sortedToc()
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static autoPtr< thermophysicalFunction > New(Istream &is)
Return pointer to new thermophysicalFunction created from input.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
#define InfoInFunction
Report an information message using Foam::Info.