[Thermo] Deprecate classes PseudoBinaryVPSSTP and electrodeElectron

This commit is contained in:
Ray Speth 2015-02-20 23:43:29 +00:00
parent 09ce99dc83
commit 0ad8d45baf
4 changed files with 9 additions and 0 deletions

View file

@ -61,6 +61,8 @@ namespace Cantera
* The way that it collects the cation and anion based mole numbers
* is via holding two extra ThermoPhase objects. These
* can include standard states for salts.
*
* @deprecated Incomplete and untested. To be removed after Cantera 2.2.
*/
class PseudoBinaryVPSSTP : public GibbsExcessVPSSTP
{

View file

@ -481,6 +481,9 @@ public:
/*!
* The class is based on the electron have a chemical potential
* equal to one-half of the entropy of the H2 gas at 1 bar.
*
* @deprecated Deprecated in favor of class MetalSHEelectrons. To be removed
* after Cantera 2.2.
*/
class electrodeElectron : public StoichSubstanceSSTP
{

View file

@ -36,6 +36,8 @@ PseudoBinaryVPSSTP::PseudoBinaryVPSSTP() :
cationPhase_(0),
anionPhase_(0)
{
warn_deprecated("Class PseudoBinaryVPSSTP",
"To be removed after Cantera 2.2.");
}
PseudoBinaryVPSSTP::PseudoBinaryVPSSTP(const PseudoBinaryVPSSTP& b) :

View file

@ -262,6 +262,8 @@ void StoichSubstanceSSTP::setParametersFromXML(const XML_Node& eosdata)
electrodeElectron::electrodeElectron():
StoichSubstanceSSTP()
{
warn_deprecated("Class electrodeElectron",
"To be removed after Cantera 2.2.");
}
electrodeElectron::electrodeElectron(const std::string& infile, std::string id_) :