none Class Reference

Undefined function which returns an error when called. More...

Inheritance diagram for none:
Collaboration diagram for none:

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 none (const dictionary &dict)
 Construct from dictionary. More...
 
scalar f (scalar p, scalar T) const
 Evaluate the function and return the result. More...
 
void write (Ostream &os) const
 Write the function coefficients. More...
 
- Public Member Functions inherited from thermophysicalFunction
 TypeName ("thermophysicalFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalFunction ()
 Construct null. More...
 
virtual ~thermophysicalFunction ()
 Destructor. More...
 
virtual void write (Ostream &os, const word &name) const
 Write the function coefficients within the property sub-dictionary. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from thermophysicalFunction
static autoPtr< thermophysicalFunctionNew (const dictionary &dict, const word &name)
 Return pointer to new thermophysicalFunction created from dict. More...
 

Detailed Description

Undefined function which returns an error when called.

Definition at line 47 of file noneThermophysicalFunction.H.

Constructor & Destructor Documentation

◆ none()

none ( const dictionary dict)

Construct from dictionary.

Definition at line 43 of file noneThermophysicalFunction.C.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ f()

Foam::scalar f ( scalar  p,
scalar  T 
) const
virtual

Evaluate the function and return the result.

Implements thermophysicalFunction.

Definition at line 51 of file noneThermophysicalFunction.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write the function coefficients.

Implements thermophysicalFunction.

Definition at line 62 of file noneThermophysicalFunction.C.


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