35 #ifndef chemistryTabulationMethod_H 36 #define chemistryTabulationMethod_H 50 template<
class CompType,
class ThermoType>
51 class TDACChemistryModel;
57 template<
class CompType,
class ThermoType>
81 TypeName(
"chemistryTabulationMethod");
130 return active_ &&
log_;
172 virtual bool update() = 0;
Switch active_
Is tabulation active?
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
chemistryTabulationMethod(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual label add(const scalarField &phiQ, const scalarField &RphiQ, const label li, const scalar rho, const scalar deltaT)=0
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
virtual void writePerformance()=0
BasicChemistryModel< rhoReactionThermo > & chemistry
TypeName("chemistryTabulationMethod")
Runtime type information.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
virtual bool retrieve(const scalarField &phiQ, scalarField &RphiQ)=0
TDACChemistryModel< CompType, ThermoType > & chemistry_
declareRunTimeSelectionTable(autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
bool variableTimeStep() const
Return true if the time-step is variable and/or non-uniform.
An abstract class for chemistry tabulation.
Switch log_
Switch to select performance logging.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const dictionary coeffsDict_
Macros to ease declaration of run-time selection tables.
static autoPtr< chemistryTabulationMethod > New(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
virtual ~chemistryTabulationMethod()
Destructor.