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>
label cTos(const label ci) const
Return the index in the simplified set of species.
Abstract base class for the systems of ordinary differential equations.
const PtrList< volScalarField > & Y() const
Return a reference to the list of mass fraction fields.
autoPtr< OFstream > logFile(const word &name) const
Create and return a TDAC log file of the given name.
odeChemistryModel(const fluidReactionThermo &thermo)
Construct from thermo.
TypeName("odeChemistryModel")
Runtime type information.
Base-class for multi-component fluid thermodynamic properties.
label sToc(const label si) const
Return the index in the complete set of species.
const fileName & name() const
Return the dictionary name.
bool reduction() const
Return true if mechanism reduction is active.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
void operator=(const odeChemistryModel &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
virtual ~odeChemistryModel()
Destructor.
void setNSpecie(const label newNs)
Allow the reduction method to reset the number of species.
const fluidReactionThermo & thermo() const
Return const access to the thermo.
Extends base chemistry model by adding a thermo package, and ODE functions. Introduces chemistry equa...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual label nSpecie() const
The number of species.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
An abstract class for methods of chemical mechanism reduction.
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation...
virtual label nEqns() const
Number of ODE's to solve.
Base class for chemistry models.