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) |
| thermophysicalFunction | ( | ) | [inline]
|
Construct null.
Definition at line 74 of file thermophysicalFunction.H.
| virtual ~thermophysicalFunction | ( | ) | [inline, virtual]
|
Definition at line 83 of file thermophysicalFunction.H.
| TypeName | ( | "thermophysicalFunction" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalFunction | , | ||
| Istream | , | ||
| (Istream &is) | , | ||
| (is) | |||
| ) |
| autoPtr< thermophysicalFunction > New | ( | Istream & | 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.
| virtual scalar f | ( | scalar | p, |
| scalar | T | ||
| ) | const [pure virtual]
|
Evaluate the function and return the result.
Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc1, NSRDSfunc14, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.
| virtual void writeData | ( | Ostream & | os ) | const [pure virtual]
|
Write the function coefficients.
Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc1, NSRDSfunc14, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.
| Ostream& operator<< | ( | Ostream & | os, |
| const thermophysicalFunction & | f | ||
| ) | [friend]
|
Definition at line 98 of file thermophysicalFunction.H.