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)