37#ifndef chemistryTabulationMethod_H
38#define chemistryTabulationMethod_H
52template<
class CompType,
class ThermoType>
53class TDACChemistryModel;
59template<
class CompType,
class ThermoType>
83 TypeName(
"chemistryTabulationMethod");
145 virtual label
size() = 0;
173 virtual bool update() = 0;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Extends StandardChemistryModel by adding the TDAC method.
bool variableTimeStep() const
Return true if the time-step is variable and/or non-uniform.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
An abstract class for chemistry tabulation.
Switch active_
Is tabulation active?
virtual ~chemistryTabulationMethod()
Destructor.
declareRunTimeSelectionTable(autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
TDACChemistryModel< CompType, ThermoType > & chemistry_
TypeName("chemistryTabulationMethod")
Runtime type information.
const dictionary coeffsDict_
virtual bool retrieve(const scalarField &phiQ, scalarField &RphiQ)=0
static autoPtr< chemistryTabulationMethod > New(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
virtual label add(const scalarField &phiQ, const scalarField &RphiQ, const scalar rho, const scalar deltaT)=0
virtual void writePerformance()=0
Switch log_
Switch to select performance logging.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
BasicChemistryModel< psiReactionThermo > & chemistry
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.