[Kinetics] Allow reactions with A = 0.0
This commit is contained in:
parent
0f13a7159e
commit
b3708cdab5
1 changed files with 2 additions and 2 deletions
|
|
@ -541,9 +541,9 @@ void getRateCoefficient(const XML_Node& kf, Kinetics& kin,
|
|||
kin.thermo(kin.surfacePhaseIndex()), rdata);
|
||||
}
|
||||
|
||||
if (coeff[0] <= 0.0 && !rules.allowNegativeA) {
|
||||
if (coeff[0] < 0.0 && !rules.allowNegativeA) {
|
||||
throw CanteraError("getRateCoefficient",
|
||||
"negative or zero A coefficient for reaction "+int2str(rdata.number));
|
||||
"negative A coefficient for reaction "+int2str(rdata.number));
|
||||
}
|
||||
} else if (nm == "Arrhenius_ExchangeCurrentDensity") {
|
||||
vector_fp coeff(3);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue