chemistryTabulationMethod< CompType, ThermoType > Class Template Referenceabstract

An abstract class for chemistry tabulation. More...

Inheritance diagram for chemistryTabulationMethod< CompType, ThermoType >:
Collaboration diagram for chemistryTabulationMethod< CompType, ThermoType >:

Public Member Functions

 TypeName ("chemistryTabulationMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 
 chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components. More...
 
virtual ~chemistryTabulationMethod ()
 Destructor. More...
 
bool active ()
 
bool log ()
 
bool variableTimeStep ()
 
scalar tolerance () const
 
virtual label size ()=0
 
virtual void writePerformance ()=0
 
virtual bool retrieve (const scalarField &phiQ, scalarField &RphiQ)=0
 
virtual label add (const scalarField &phiQ, const scalarField &RphiQ, const scalar rho, const scalar deltaT)=0
 
virtual bool update ()=0
 

Static Public Member Functions

static autoPtr< chemistryTabulationMethodNew (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 

Protected Attributes

const dictionarydict_
 
const dictionary coeffsDict_
 
Switch active_
 Is tabulation active? More...
 
Switch log_
 Switch to select performance logging. More...
 
TDACChemistryModel< CompType, ThermoType > & chemistry_
 
scalar tolerance_
 

Detailed Description

template<class CompType, class ThermoType>
class Foam::chemistryTabulationMethod< CompType, ThermoType >

An abstract class for chemistry tabulation.

Source files

Definition at line 57 of file chemistryTabulationMethod.H.

Constructor & Destructor Documentation

◆ chemistryTabulationMethod()

chemistryTabulationMethod ( const dictionary dict,
TDACChemistryModel< CompType, ThermoType > &  chemistry 
)

Construct from components.

Definition at line 33 of file chemistryTabulationMethod.C.

◆ ~chemistryTabulationMethod()

Destructor.

Definition at line 51 of file chemistryTabulationMethod.C.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::chemistryTabulationMethod().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "chemistryTabulationMethod< CompType, ThermoType >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
chemistryTabulationMethod< CompType, ThermoType >  ,
dictionary  ,
(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry ,
(dict, chemistry  
)

◆ New()

Foam::autoPtr< Foam::chemistryTabulationMethod< CompType, ThermoType > > New ( const IOdictionary dict,
TDACChemistryModel< CompType, ThermoType > &  chemistry 
)
static

Definition at line 34 of file chemistryTabulationMethodNew.C.

◆ active()

bool active ( )
inline

Definition at line 122 of file chemistryTabulationMethod.H.

Referenced by ISAT< CompType, ThermoType >::~ISAT().

Here is the caller graph for this function:

◆ log()

bool log ( )
inline

Definition at line 127 of file chemistryTabulationMethod.H.

◆ variableTimeStep()

bool variableTimeStep ( )
inline

Definition at line 132 of file chemistryTabulationMethod.H.

◆ tolerance()

scalar tolerance ( ) const
inline

Definition at line 137 of file chemistryTabulationMethod.H.

◆ size()

virtual label size ( )
pure virtual

Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::tolerance().

Here is the caller graph for this function:

◆ writePerformance()

virtual void writePerformance ( )
pure virtual

Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::tolerance().

Here is the caller graph for this function:

◆ retrieve()

virtual bool retrieve ( const scalarField phiQ,
scalarField RphiQ 
)
pure virtual

Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::tolerance().

Here is the caller graph for this function:

◆ add()

virtual label add ( const scalarField phiQ,
const scalarField RphiQ,
const scalar  rho,
const scalar  deltaT 
)
pure virtual

Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::tolerance().

Here is the caller graph for this function:

◆ update()

virtual bool update ( )
pure virtual

Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::tolerance().

Here is the caller graph for this function:

Member Data Documentation

◆ dict_

const dictionary& dict_
protected

Definition at line 62 of file chemistryTabulationMethod.H.

◆ coeffsDict_

const dictionary coeffsDict_
protected

Definition at line 64 of file chemistryTabulationMethod.H.

◆ active_

Switch active_
protected

Is tabulation active?

Definition at line 67 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::active().

◆ log_

Switch log_
protected

Switch to select performance logging.

Definition at line 70 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::log().

◆ chemistry_

TDACChemistryModel<CompType, ThermoType>& chemistry_
protected

Definition at line 72 of file chemistryTabulationMethod.H.

◆ tolerance_

scalar tolerance_
protected

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