51 const word functionType(is);
53 auto* ctorPtr = IstreamConstructorTable(functionType);
59 "thermophysicalFunction",
61 *IstreamConstructorTablePtr_
71 const dictionary&
dict 76 const word functionType(
dict.
get<word>(
"functionType"));
78 auto* ctorPtr = dictionaryConstructorTable(functionType);
85 "thermophysicalFunction",
87 *dictionaryConstructorTablePtr_
91 return autoPtr<thermophysicalFunction>(ctorPtr(
dict));
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
Abstract base class for thermo-physical functions.
A class for handling words, derived from Foam::string.
#define DebugInFunction
Report an information message using Foam::Info.
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...