32 #ifndef thermophysicalFunction_H 33 #define thermophysicalFunction_H 102 virtual scalar
f(scalar
p, scalar
T)
const = 0;
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual ~thermophysicalFunction()
Destructor.
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
declareRunTimeSelectionTable(autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
thermophysicalFunction()
Construct null.
Abstract base class for thermo-physical functions.
friend Ostream & operator<<(Ostream &os, const thermophysicalFunction &f)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual scalar f(scalar p, scalar T) const =0
Evaluate the function and return the result.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static autoPtr< thermophysicalFunction > New(Istream &is)
Return pointer to new thermophysicalFunction created from input.
TypeName("thermophysicalFunction")
Runtime type information.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.