32 #ifndef thermophysicalFunction_H 33 #define thermophysicalFunction_H 48 class thermophysicalFunction;
49 Ostream&
operator<<(Ostream& os,
const thermophysicalFunction& l);
98 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...
static autoPtr< thermophysicalFunction > New(const dictionary &dict, const word &name)
Return pointer to new thermophysicalFunction created from dict.
virtual ~thermophysicalFunction()
Destructor.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
thermophysicalFunction()
Construct null.
Abstract base class for thermo-physical functions.
A class for handling words, derived from string.
virtual void write(Ostream &os) const =0
Write the function coefficients.
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)
word name(const complex &)
Return a string representation of a complex.
Ostream & operator<<(Ostream &, const ensightPart &)
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.
declareRunTimeSelectionTable(autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))