[cantera] r3435 committed - Commenting out RedlichKwongMFTP:cv_mole error, temporarily

0 views
Skip to first unread message

can...@googlecode.com

unread,
Jun 9, 2015, 12:55:38 PM6/9/15
to cantera...@googlegroups.com
Revision: 3435
Author: steven....@gmail.com
Date: Tue Jun 9 16:49:51 2015 UTC
Log: Commenting out RedlichKwongMFTP:cv_mole error, temporarily
https://code.google.com/p/cantera/source/detail?r=3435

Modified:
/cantera/trunk/src/thermo/RedlichKwongMFTP.cpp
/cantera/trunk/src/thermo/ThermoPhase.cpp

=======================================
--- /cantera/trunk/src/thermo/RedlichKwongMFTP.cpp Tue Jun 9 16:49:34 2015
UTC
+++ /cantera/trunk/src/thermo/RedlichKwongMFTP.cpp Tue Jun 9 16:49:51 2015
UTC
@@ -211,7 +211,7 @@

doublereal RedlichKwongMFTP::cv_mole() const
{
- throw CanteraError("", "unimplemented");
+ //throw CanteraError("", "unimplemented");
return cp_mole() - GasConstant;
}

=======================================
--- /cantera/trunk/src/thermo/ThermoPhase.cpp Tue Jun 9 16:49:48 2015 UTC
+++ /cantera/trunk/src/thermo/ThermoPhase.cpp Tue Jun 9 16:49:51 2015 UTC
@@ -201,7 +201,7 @@

void ThermoPhase::setState_UV(doublereal u, doublereal v, doublereal dTtol)
{
- setState_HPorUV(u, v, dTtol, false);//true);
+ setState_HPorUV(u, v, dTtol, true);
}

void ThermoPhase::setState_conditional_TP(doublereal t, doublereal p, bool
set_p)
Reply all
Reply to author
Forward
0 new messages