37 #ifndef chemistryTabulationMethod_H 38 #define chemistryTabulationMethod_H 52 template<
class CompType,
class ThermoType>
53 class TDACChemistryModel;
59 template<
class CompType,
class ThermoType>
83 TypeName(
"chemistryTabulationMethod");
173 virtual bool update() = 0;
Switch active_
Is tabulation active?
chemistryTabulationMethod(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
virtual void writePerformance()=0
BasicChemistryModel< psiReactionThermo > & 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.
virtual label add(const scalarField &phiQ, const scalarField &RphiQ, const scalar rho, const scalar deltaT)=0
Switch log_
Switch to select performance logging.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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.