[Thermo] Deprecate IdealSolidSolnPhase::referenceConcentration
This commit is contained in:
parent
994c9d1afb
commit
ac2361ee53
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue