FreeFOAM The Cross-Platform CFD Toolkit
thermophysicalFunction Class Reference

Abstract base class for thermo-physical functions. More...

#include <thermophysicalFunctions/thermophysicalFunction.H>


Detailed Description

Abstract base class for thermo-physical functions.

Definition at line 50 of file thermophysicalFunction.H.

+ Inheritance diagram for thermophysicalFunction:

List of all members.

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

Ostreamoperator<< (Ostream &os, const thermophysicalFunction &f)

Constructor & Destructor Documentation

Construct null.

Definition at line 74 of file thermophysicalFunction.H.

virtual ~thermophysicalFunction ( )
inlinevirtual

Definition at line 83 of file thermophysicalFunction.H.


Member Function Documentation

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 NSRDSfunc0, NSRDSfunc6, NSRDSfunc1, NSRDSfunc14, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.

virtual void writeData ( Ostream os) const
pure virtual

Write the function coefficients.

Implemented in NSRDSfunc6, NSRDSfunc0, NSRDSfunc14, NSRDSfunc1, NSRDSfunc4, NSRDSfunc7, NSRDSfunc2, NSRDSfunc3, NSRDSfunc5, and APIdiffCoefFunc.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream os,
const thermophysicalFunction f 
)
friend

Definition at line 98 of file thermophysicalFunction.H.


The documentation for this class was generated from the following files: