Abstract base class for thermo-physical functions. More...
#include <thermophysicalFunction.H>

Public Member Functions | |
| TypeName ("thermophysicalFunction") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is)) | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict)) | |
| thermophysicalFunction () | |
| Construct null. | |
| virtual | ~thermophysicalFunction ()=default |
| Destructor. | |
| 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 pointer to new thermophysicalFunction created from input. | |
| static autoPtr< thermophysicalFunction > | New (const dictionary &dict) |
| Return pointer to new thermophysicalFunction created from dict. | |
Friends | |
| Ostream & | operator<< (Ostream &os, const thermophysicalFunction &f) |
Abstract base class for thermo-physical functions.
Definition at line 47 of file thermophysicalFunction.H.
|
inline |
Construct null.
Definition at line 84 of file thermophysicalFunction.H.
Referenced by declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), and operator<<.

|
virtualdefault |
Destructor.
| TypeName | ( | "thermophysicalFunction" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalFunction | , | ||
| Istream | , | ||
| (Istream &is) | , | ||
| (is) | ) |
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalFunction | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | ) |
|
static |
Return pointer to new thermophysicalFunction created from input.
Definition at line 37 of file thermophysicalFunction.C.
References Foam::abort(), DebugInFunction, Foam::endl(), Foam::FatalError, and FatalErrorInLookup.

|
static |
Return pointer to new thermophysicalFunction created from dict.
Definition at line 62 of file thermophysicalFunction.C.
References Foam::abort(), DebugInFunction, dict, Foam::endl(), Foam::FatalIOError, and FatalIOErrorInLookup.

|
pure virtual |
Evaluate the function and return the result.
Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc14, NSRDSfunc1, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.
Referenced by operator<<.


|
pure virtual |
Write the function coefficients.
Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc14, NSRDSfunc1, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.
References os().

|
friend |
Definition at line 119 of file thermophysicalFunction.H.
References f(), os(), and thermophysicalFunction().