fixed bug that resulted in incorrect computation of product concentration products when rxn has 4 or more product molecules and one or more has a stoich coeff > 1
This commit is contained in:
parent
1481f13b94
commit
9f34a57aa6
1 changed files with 3 additions and 1 deletions
|
|
@ -113,7 +113,9 @@ namespace Cantera {
|
|||
"\nfor irreversible reactions");
|
||||
}
|
||||
if (pk.size() > 3) {
|
||||
m_revproducts->add(rxn, r.products, m_dummy, r.pstoich);
|
||||
// mod dgg 10/31/06
|
||||
m_revproducts->add(rxn, r.products, r.pstoich, r.pstoich);
|
||||
//m_revproducts->add(rxn, r.products, m_dummy, r.pstoich);
|
||||
}
|
||||
else {
|
||||
m_revproducts->add(rxn, pk);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue