Abstract base class for thermo-physical functions. More...
#include <thermophysicalFunctions/thermophysicalFunction.H>
Abstract base class for thermo-physical functions.
Definition at line 50 of file thermophysicalFunction.H.
Inheritance diagram for thermophysicalFunction:Public Member Functions | |
| TypeName ("thermophysicalFunction") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is)) | |
| thermophysicalFunction () | |
| Construct null. | |
| virtual | ~thermophysicalFunction () |
| virtual scalar | f (scalar p, scalar T) const =0 |
| Evaluate the function and return the result. | |
| virtual void | writeData (Ostream &os) const =0 |
| Write the function coefficients. | |
Static Public Member Functions | |
| static autoPtr < thermophysicalFunction > | New (Istream &is) |
| Return a pointer to a new thermophysicalFunction created from input. | |
Friends | |
| Ostream & | operator<< (Ostream &os, const thermophysicalFunction &f) |
|
inline |
Construct null.
Definition at line 74 of file thermophysicalFunction.H.
|
inlinevirtual |
Definition at line 83 of file thermophysicalFunction.H.
| TypeName | ( | "thermophysicalFunction" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalFunction | , | ||
| Istream | , | ||
| (Istream &is) | , | ||
| (is) | |||
| ) |
|
static |
Return a pointer to a new thermophysicalFunction created from input.
Definition at line 43 of file thermophysicalFunction.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::Info.
|
pure virtual |
Evaluate the function and return the result.
Implemented in NSRDSfunc0, NSRDSfunc6, NSRDSfunc1, NSRDSfunc14, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.
|
pure virtual |
Write the function coefficients.
Implemented in NSRDSfunc6, NSRDSfunc0, NSRDSfunc14, NSRDSfunc1, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.
|
friend |
Definition at line 98 of file thermophysicalFunction.H.