Skip to content

Commit

Permalink
[Thermo] Deprecate RedlichKisterVPSSTP::Vint
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Sep 8, 2016
1 parent 340c1bf commit 85e2e99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/cantera/thermo/RedlichKisterVPSSTP.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ class RedlichKisterVPSSTP : public GibbsExcessVPSSTP
* 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);

Expand Down
2 changes: 2 additions & 0 deletions src/thermo/RedlichKisterVPSSTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 85e2e99

Please sign in to comment.