35 #ifndef thermophysicalFunction_H 36 #define thermophysicalFunction_H 104 virtual scalar
f(scalar
p, scalar
T)
const = 0;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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 ~thermophysicalFunction()=default
Destructor.
virtual scalar f(scalar p, scalar T) const =0
Evaluate the function and return the result.
OBJstream os(runTime.globalPath()/outputName)
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.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
TypeName("thermophysicalFunction")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.