Allow T** in 4-term Troe expression to be negative
Unlike the T* and T*** coefficients, T** appears in the numerator and does not cause any problems when its value is less than or equal to 0.
This commit is contained in:
parent
382de2d865
commit
6326963e7c
1 changed files with 0 additions and 5 deletions
|
|
@ -210,8 +210,6 @@ namespace Cantera {
|
|||
* T_1 is required to greater than or equal to zero. If it is zero,
|
||||
* then the term is set to zero.
|
||||
*
|
||||
* T_2 is required to be greater than zero.
|
||||
*
|
||||
* @ingroup falloffGroup
|
||||
*/
|
||||
class Troe4 : public Falloff {
|
||||
|
|
@ -249,9 +247,6 @@ namespace Cantera {
|
|||
} else {
|
||||
m_rt1 = 1.0/c[2];
|
||||
}
|
||||
if (c[3] < 0.0) {
|
||||
throw CanteraError("Troe4::init()", "T2 parameter is less than zero");
|
||||
}
|
||||
m_t2 = c[3];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue