51 const word functionType(is);
53 auto* ctorPtr = IstreamConstructorTable(functionType);
59 "thermophysicalFunction",
61 *IstreamConstructorTablePtr_
76 const word functionType(
dict.get<word>(
"functionType"));
78 auto* ctorPtr = dictionaryConstructorTable(functionType);
85 "thermophysicalFunction",
87 *dictionaryConstructorTablePtr_
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base class for thermo-physical functions.
thermophysicalFunction()
Construct null.
static autoPtr< thermophysicalFunction > New(Istream &is)
Return pointer to new thermophysicalFunction created from input.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define DebugInFunction
Report an information message using Foam::Info.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.