Added comments.
This commit is contained in:
parent
565e57d814
commit
d2a6042f7f
1 changed files with 18 additions and 2 deletions
|
|
@ -935,11 +935,27 @@ namespace Cantera {
|
||||||
*/
|
*/
|
||||||
void InterfaceKinetics::addReaction(const ReactionData& r) {
|
void InterfaceKinetics::addReaction(const ReactionData& r) {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Install the rate coefficient for the current reaction
|
||||||
|
* in the appropriate data structure.
|
||||||
|
*/
|
||||||
addElementaryReaction(r);
|
addElementaryReaction(r);
|
||||||
|
/*
|
||||||
// operations common to all reaction types
|
* Add the reactants and products for m_ropnet;the current reaction
|
||||||
|
* to the various stoichiometric coefficient arrays.
|
||||||
|
*/
|
||||||
installReagents(r);
|
installReagents(r);
|
||||||
|
/*
|
||||||
|
* Save the reaction and product groups, which are
|
||||||
|
* part of the ReactionData class, in this class.
|
||||||
|
* They aren't used for anything but reaction path
|
||||||
|
* analysis.
|
||||||
|
*/
|
||||||
//installGroups(reactionNumber(), r.rgroups, r.pgroups);
|
//installGroups(reactionNumber(), r.rgroups, r.pgroups);
|
||||||
|
/*
|
||||||
|
* Increase the internal number of reactions, m_ii, by one.
|
||||||
|
* increase the size of m_perturb by one as well.
|
||||||
|
*/
|
||||||
incrementRxnCount();
|
incrementRxnCount();
|
||||||
m_rxneqn.push_back(r.equation);
|
m_rxneqn.push_back(r.equation);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue