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, 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 (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

◆ thermophysicalFunction()

Construct null.

Definition at line 74 of file thermophysicalFunction.H.

References thermophysicalFunction::New().

Here is the call graph for this function:

◆ ~thermophysicalFunction()

virtual ~thermophysicalFunction ( )
inlinevirtual

Destructor.

Definition at line 82 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()

TypeName ( "thermophysicalFunction"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

Return pointer to new thermophysicalFunction created from dict.

Definition at line 41 of file thermophysicalFunction.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, dictionary::lookup(), and Foam::nl.

Referenced by thermophysicalFunction::thermophysicalFunction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f()

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:

◆ writeData()

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

◆ operator<<

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

Definition at line 97 of file thermophysicalFunction.H.


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