95 virtual void add(
size_t rxn,
const std::vector<size_t>& reactants,
96 const std::vector<size_t>& products,
bool reversible);
114 const doublereal* fwdRatesOfProgress,
115 const doublereal* revRatesOfProgress,
116 doublereal* creationRates);
129 const doublereal* fwdRatesOfProgress,
130 const doublereal* revRatesOfProgress,
131 doublereal* destructionRates);
199 virtual void write(
const std::string& filename);
202 void writeCreationRates(std::ostream& f);
203 void writeDestructionRates(std::ostream& f);
204 void writeNetProductionRates(std::ostream& f);
205 void writeMultiplyReactants(std::ostream& f);
206 void writeMultiplyRevProducts(std::ostream& f);
207 StoichManagerN m_reactants;
208 StoichManagerN m_revproducts;
209 StoichManagerN m_irrevproducts;
virtual void getNetProductionRates(size_t nsp, const doublereal *ropnet, doublereal *w)
Species net production rates.
ReactionStoichMgr()
Constructor.
virtual void getDestructionRates(size_t nSpecies, const doublereal *fwdRatesOfProgress, const doublereal *revRatesOfProgress, doublereal *destructionRates)
Species destruction rates.
virtual void getCreationRates(size_t nSpecies, const doublereal *fwdRatesOfProgress, const doublereal *revRatesOfProgress, doublereal *creationRates)
Species creation rates.
virtual void getRevReactionDelta(size_t nr, const doublereal *g, doublereal *dg)
Given an array of species properties 'g', return in array 'dg' the change in this quantity in the rev...
virtual void getReactionDelta(size_t nReactions, const doublereal *g, doublereal *dg)
Calculates the change of a molar species property in a reaction.
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
virtual void multiplyReactants(const doublereal *C, doublereal *R)
Given an array of concentrations C, multiply the entries in array R by the concentration products for...
virtual ~ReactionStoichMgr()
Destructor.
Intermediate class which stores data about a reaction and its rate parameterization before adding the...
Reaction mechanism stoichiometry manager.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
virtual void multiplyRevProducts(const doublereal *c, doublereal *r)
Given an array of concentrations C, multiply the entries in array R by the concentration products for...
virtual void add(size_t rxn, const std::vector< size_t > &reactants, const std::vector< size_t > &products, bool reversible)
Add a reaction with mass-action kinetics.