Abstract base class for thermo-physical functions. More...
Public Member Functions | |
TypeName ("thermophysicalFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict)) | |
thermophysicalFunction () | |
Construct null. More... | |
virtual | ~thermophysicalFunction () |
Destructor. More... | |
virtual scalar | f (scalar p, scalar T) const =0 |
Evaluate the function and return the result. More... | |
virtual void | writeData (Ostream &os) const =0 |
Write the function coefficients. More... | |
Static Public Member Functions | |
static autoPtr< thermophysicalFunction > | New (const dictionary &dict) |
Return pointer to new thermophysicalFunction created from dict. More... | |
Friends | |
Ostream & | operator<< (Ostream &os, const thermophysicalFunction &f) |
Abstract base class for thermo-physical functions.
Definition at line 50 of file thermophysicalFunction.H.
|
inline |
Construct null.
Definition at line 74 of file thermophysicalFunction.H.
References thermophysicalFunction::New().
|
inlinevirtual |
Destructor.
Definition at line 82 of file thermophysicalFunction.H.
References thermophysicalFunction::f(), p, Foam::T(), and thermophysicalFunction::writeData().
TypeName | ( | "thermophysicalFunction" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
thermophysicalFunction | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
static |
Return pointer to new thermophysicalFunction created from dict.
Definition at line 41 of file thermophysicalFunction.C.
References Foam::abort(), dict, Foam::endl(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, dictionary::lookup(), and Foam::nl.
Referenced by thermophysicalFunction::thermophysicalFunction().
|
pure virtual |
Evaluate the function and return the result.
Implemented in NSRDSfunc0, NSRDSfunc6, NSRDSfunc1, NSRDSfunc14, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.
Referenced by thermophysicalFunction::~thermophysicalFunction().
|
pure virtual |
Write the function coefficients.
Implemented in NSRDSfunc14, NSRDSfunc6, NSRDSfunc0, NSRDSfunc1, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.
Referenced by thermophysicalFunction::~thermophysicalFunction().
|
friend |
Definition at line 97 of file thermophysicalFunction.H.