35#ifndef thermophysicalFunction_H
36#define thermophysicalFunction_H
104 virtual scalar
f(scalar
p, scalar
T)
const = 0;
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
declareRunTimeSelectionTable(autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
thermophysicalFunction()
Construct null.
declareRunTimeSelectionTable(autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
friend Ostream & operator<<(Ostream &os, const thermophysicalFunction &f)
TypeName("thermophysicalFunction")
Runtime type information.
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 autoPtr< thermophysicalFunction > New(Istream &is)
Return pointer to new thermophysicalFunction created from input.
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.