[Thermo] Deprecate IdealSolidSolnPhase::referenceConcentration

This commit is contained in:
Ray Speth 2016-04-17 22:49:28 -04:00
parent 994c9d1afb
commit ac2361ee53
2 changed files with 5 additions and 0 deletions

View file

@ -343,6 +343,8 @@ public:
* concentration -> suggest changing the name). This is the inverse of the
* species molar volume.
*
* @deprecated Unused duplicate of standardConcentration. To be removed
* after Cantera 2.3.
* @param k Species index.
*/
virtual doublereal referenceConcentration(int k) const;

View file

@ -238,6 +238,9 @@ doublereal IdealSolidSolnPhase::standardConcentration(size_t k) const
}
doublereal IdealSolidSolnPhase::referenceConcentration(int k) const
{
warn_deprecated("IdealSolidSolnPhase::referenceConcentration",
"Unused duplicate of standardConcentration. "
"To be removed after Cantera 2.3.");
switch (m_formGC) {
case 0:
return 1.0;