35 #ifndef chemistryTabulationMethod_H 36 #define chemistryTabulationMethod_H 50 template<
class ThermoType>
51 class TDACChemistryModel;
57 template<
class ThermoType>
81 TypeName(
"chemistryTabulationMethod");
130 return active_ &&
log_;
167 virtual bool update() = 0;
Switch active_
Is tabulation active?
Extends standardChemistryModel by adding the TDAC method.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
declareRunTimeSelectionTable(autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry),(dict, chemistry))
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
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
basicChemistryModel & chemistry
chemistryTabulationMethod(const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry)
Construct from components.
An abstract class for chemistry tabulation.
static autoPtr< chemistryTabulationMethod > New(const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry)
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.
TDACChemistryModel< ThermoType > & chemistry_
virtual ~chemistryTabulationMethod()
Destructor.