Public Member Functions | Static Public Member Functions | Friends | List of all members
thermophysicalFunction Class Referenceabstract

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

Inheritance diagram for thermophysicalFunction:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("thermophysicalFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalFunction ()
 Construct null. More...
 
virtual ~thermophysicalFunction ()
 Destructor. More...
 
virtual scalar f (scalar p, scalar T) const =0
 Evaluate the function and return the result. More...
 
virtual void writeData (Ostream &os) const =0
 Write the function coefficients. More...
 

Static Public Member Functions

static autoPtr< thermophysicalFunctionNew (Istream &is)
 Return pointer to new thermophysicalFunction created from input. More...
 
static autoPtr< thermophysicalFunctionNew (const dictionary &dict)
 Return pointer to new thermophysicalFunction created from dict. More...
 

Friends

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

Detailed Description

Abstract base class for thermo-physical functions.

Definition at line 50 of file thermophysicalFunction.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 83 of file thermophysicalFunction.H.

References thermophysicalFunction::New().

Here is the call graph for this function:

virtual ~thermophysicalFunction ( )
inlinevirtual

Destructor.

Definition at line 94 of file thermophysicalFunction.H.

References thermophysicalFunction::f(), p, Foam::T(), and thermophysicalFunction::writeData().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "thermophysicalFunction"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
thermophysicalFunction  ,
Istream  ,
(Istream &is)  ,
(is)   
)
declareRunTimeSelectionTable ( autoPtr  ,
thermophysicalFunction  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

Return pointer to new thermophysicalFunction created from input.

Definition at line 44 of file thermophysicalFunction.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, Foam::Info, and Foam::nl.

Referenced by thermophysicalFunction::thermophysicalFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::autoPtr< Foam::thermophysicalFunction > New ( const dictionary dict)
static

Return pointer to new thermophysicalFunction created from dict.

Definition at line 76 of file thermophysicalFunction.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

Here is the call graph for this function:

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.

Referenced by thermophysicalFunction::~thermophysicalFunction().

Here is the caller graph for this function:

virtual void writeData ( Ostream os) const
pure virtual

Write the function coefficients.

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

Referenced by thermophysicalFunction::~thermophysicalFunction().

Here is the caller graph for this function:

Friends And Related Function Documentation

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

Definition at line 109 of file thermophysicalFunction.H.


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