9#ifndef CT_BULKKINETICS_H
10#define CT_BULKKINETICS_H
20class ElementaryReaction2;
41 bool doIrreversible =
false);
43 virtual bool addReaction(shared_ptr<Reaction> r,
bool resize=
true);
49 virtual void invalidateCache();
51 void addThirdBody(shared_ptr<Reaction> r);
Base class for kinetics managers and also contains the kineticsmgr module documentation (see Kinetics...
Partial specialization of Kinetics for chemistry in a single bulk phase.
virtual void resizeReactions()
Finalize Kinetics object and associated objects.
vector_fp m_act_conc
Activity concentrations, as calculated by ThermoPhase::getActivityConcentrations.
virtual void getDeltaSSGibbs(doublereal *deltaG)
Return the vector of values for the reaction standard state Gibbs free energy change.
std::vector< size_t > m_revindex
Indices of reversible reactions.
virtual void getRevRateConstants(double *krev, bool doIrreversible=false)
Return the reverse rate constants.
virtual void setMultiplier(size_t i, double f)
Set the multiplier for reaction i to f.
std::vector< unique_ptr< MultiRateBase > > m_bulk_rates
Vector of rate handlers.
ThirdBodyCalc3 m_multi_concm
used with MultiRate evaluator
virtual void getDeltaEnthalpy(doublereal *deltaH)
Return the vector of values for the reactions change in enthalpy.
vector_fp m_dn
Difference between the global reactants order and the global products order.
virtual bool addReaction(shared_ptr< Reaction > r, bool resize=true)
Add a single reaction to the mechanism.
std::vector< size_t > m_irrev
Indices of irreversible reactions.
Rate1< Arrhenius2 > m_rates
virtual void modifyReaction(size_t i, shared_ptr< Reaction > rNew)
Modify the rate expression associated with a reaction.
std::map< std::string, size_t > m_bulk_types
Mapping of rate handlers.
virtual void getDeltaSSEntropy(doublereal *deltaS)
Return the vector of values for the change in the standard state entropies for each reaction.
virtual void getDeltaEntropy(doublereal *deltaS)
Return the vector of values for the reactions change in entropy.
virtual void getDeltaSSEnthalpy(doublereal *deltaH)
Return the vector of values for the change in the standard state enthalpies of reaction.
virtual void getDeltaGibbs(doublereal *deltaG)
Return the vector of values for the reaction Gibbs free energy change.
vector_fp m_concm
Third body concentrations.
virtual void resizeSpecies()
Resize arrays with sizes that depend on the total number of species.
virtual bool isReversible(size_t i)
True if reaction i has been declared to be reversible.
vector_fp m_phys_conc
Physical concentrations, as calculated by ThermoPhase::getConcentrations.
A reaction which follows mass-action kinetics with a modified Arrhenius reaction rate.
Public interface for kinetics managers.
ThermoPhase & thermo(size_t n=0)
This method returns a reference to the nth ThermoPhase object defined in this kinetics mechanism.
This rate coefficient manager supports one parameterization of the rate constant of any type.
Base class for a phase with thermodynamic properties.
Calculate and apply third-body effects on reaction rates, including non- unity third-body efficiencie...
Namespace for the Cantera kernel.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.