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")
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalFunction ()
 
virtual ~thermophysicalFunction ()=default
 
virtual scalar f (scalar p, scalar T) const =0
 
virtual void writeData (Ostream &os) const =0
 

Static Public Member Functions

static autoPtr< thermophysicalFunctionNew (Istream &is)
 
static autoPtr< thermophysicalFunctionNew (const dictionary &dict)
 

Friends

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

Detailed Description

Abstract base class for thermo-physical functions.

Definition at line 47 of file thermophysicalFunction.H.

Constructor & Destructor Documentation

◆ thermophysicalFunction()

Definition at line 80 of file thermophysicalFunction.H.

◆ ~thermophysicalFunction()

virtual ~thermophysicalFunction ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "thermophysicalFunction"  )

◆ declareRunTimeSelectionTable() [1/2]

declareRunTimeSelectionTable ( autoPtr  ,
thermophysicalFunction  ,
Istream  ,
(Istream &is)  ,
(is)   
)

◆ declareRunTimeSelectionTable() [2/2]

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

◆ New() [1/2]

Definition at line 38 of file thermophysicalFunction.C.

References Foam::abort(), DebugInFunction, Foam::endl(), Foam::FatalError, and FatalErrorInLookup.

Here is the call graph for this function:

◆ New() [2/2]

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

Definition at line 63 of file thermophysicalFunction.C.

References Foam::abort(), DebugInFunction, dict, Foam::endl(), Foam::FatalIOError, and FatalIOErrorInLookup.

Here is the call graph for this function:

◆ f()

virtual scalar f ( scalar  p,
scalar  T 
) const
pure virtual

◆ writeData()

virtual void writeData ( Ostream os) const
pure virtual

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 105 of file thermophysicalFunction.H.


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