37 #ifndef odeChemistryModel_H
38 #define odeChemistryModel_H
49 template<
class ThermoType>
52 template<
class ThermoType>
53 class chemistryReductionMethod;
87 template<
class ThermoType>
90 template<
class ThermoType>
Abstract base class for the systems of ordinary differential equations.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for chemistry models.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
Extends base chemistry model by adding a thermo package, and ODE functions. Introduces chemistry equa...
An abstract class for methods of chemical mechanism reduction.
const fileName & name() const
Return the dictionary name.
Base-class for multi-component fluid thermodynamic properties.
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation.
autoPtr< OFstream > logFile(const word &name) const
Create and return a TDAC log file of the given name.
void setNSpecie(const label newNs)
Allow the reduction method to reset the number of species.
odeChemistryModel(const fluidMulticomponentThermo &thermo)
Construct from thermo.
bool reduction() const
Return true if mechanism reduction is active.
virtual ~odeChemistryModel()
Destructor.
TypeName("odeChemistryModel")
Runtime type information.
virtual label nEqns() const
Number of ODE's to solve.
label sToc(const label si) const
Return the index in the complete set of species.
void operator=(const odeChemistryModel &)=delete
Disallow default bitwise assignment.
virtual label nSpecie() const
The number of species.
label cTos(const label ci) const
Return the index in the simplified set of species.
const PtrList< volScalarField > & Y() const
Return a reference to the list of mass fraction fields.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.