[Thermo] Deprecate RedlichKisterVPSSTP::Vint

This commit is contained in:
Ray Speth 2016-08-01 11:08:34 -04:00
parent 340c1bf60a
commit 85e2e9968b
2 changed files with 3 additions and 0 deletions

View file

@ -442,6 +442,7 @@ public:
* nonideal term
* @param voltsOut Output contribution to the voltage corresponding to
* nonideal term and mf term
* @deprecated Probably broken. To be removed after Cantera 2.3.
*/
void Vint(double& VintOut, double& voltsOut);

View file

@ -614,6 +614,8 @@ void RedlichKisterVPSSTP::readXMLBinarySpecies(XML_Node& xmLBinarySpecies)
void RedlichKisterVPSSTP::Vint(double& VintOut, double& voltsOut)
{
warn_deprecated("RedlichKisterVPSSTP::Vint",
"To be removed after Cantera 2.3.");
double XA;
doublereal T = temperature();
double Volts = 0.0;