49 <<
"Constructing thermophysicalFunction" 56 const word thermophysicalFunctionType(funcDict.lookup(
"type"));
58 dictionaryConstructorTable::iterator cstrIter =
59 dictionaryConstructorTablePtr_->find(thermophysicalFunctionType);
61 if (cstrIter == dictionaryConstructorTablePtr_->end())
64 <<
"Unknown thermophysicalFunction type " 65 << thermophysicalFunctionType
67 <<
"Valid thermophysicalFunction types are :" <<
endl 68 << dictionaryConstructorTablePtr_->sortedToc()
Ostream & indent(Ostream &os)
Indent stream.
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< thermophysicalFunction > New(const dictionary &dict, const word &name)
Return pointer to new thermophysicalFunction created from dict.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Abstract base class for thermo-physical functions.
const fileName & name() const
Return the dictionary name.
A class for handling words, derived from string.
virtual void write(Ostream &os) const =0
Write the function coefficients.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
word name(const complex &)
Return a string representation of a complex.
Ostream & operator<<(Ostream &, const ensightPart &)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Undefined function which returns an error when called.
#define InfoInFunction
Report an information message using Foam::Info.