chemistryTabulationMethod< ThermoType > Class Template Referenceabstract

An abstract class for chemistry tabulation. More...

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

Public Member Functions

 TypeName ("chemistryTabulationMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry),(dict, chemistry))
 
 chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry)
 Construct from components. More...
 
virtual ~chemistryTabulationMethod ()
 Destructor. More...
 
bool active ()
 
bool log ()
 
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 label li, const scalar rho, const scalar deltaT)=0
 
virtual bool update ()=0
 

Static Public Member Functions

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

Protected Attributes

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

Detailed Description

template<class ThermoType>
class Foam::chemistryTabulationMethod< 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< ThermoType > &  chemistry 
)

Construct from components.

Definition at line 33 of file chemistryTabulationMethod.C.

◆ ~chemistryTabulationMethod()

Destructor.

Definition at line 50 of file chemistryTabulationMethod.C.

Member Function Documentation

◆ TypeName()

TypeName ( "chemistryTabulationMethod< ThermoType >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

Definition at line 34 of file chemistryTabulationMethodNew.C.

References List< T >::append(), chemistry, dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, and dictionary::subDict().

Here is the call graph for this function:

◆ active()

bool active ( )
inline

Definition at line 122 of file chemistryTabulationMethod.H.

References chemistryTabulationMethod< ThermoType >::active_.

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

Here is the caller graph for this function:

◆ log()

bool log ( )
inline

◆ tolerance()

◆ size()

virtual label size ( )
pure virtual

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

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

Here is the caller graph for this function:

◆ writePerformance()

virtual void writePerformance ( )
pure virtual

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

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

Here is the caller graph for this function:

◆ retrieve()

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

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

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

Here is the caller graph for this function:

◆ add()

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

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

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

Here is the caller graph for this function:

◆ update()

virtual bool update ( )
pure virtual

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

Referenced by chemistryTabulationMethod< 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< ThermoType >::active().

◆ log_

Switch log_
protected

Switch to select performance logging.

Definition at line 70 of file chemistryTabulationMethod.H.

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

◆ chemistry_

TDACChemistryModel<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: