[Thermo] Remove overload IdealSolidSolnPhase::logStandardConc

This commit is contained in:
Ray Speth 2016-05-10 18:33:41 -04:00
parent 8ff82c06ce
commit 491816f706
2 changed files with 0 additions and 30 deletions

View file

@ -343,15 +343,6 @@ public:
*/
virtual doublereal referenceConcentration(int k) const;
/**
* Returns the log of the standard concentration of the kth species
*
* @param k Species number: this is a require parameter,
* a change from the ThermoPhase base class, where it was
* an optional parameter.
*/
virtual doublereal logStandardConc(size_t k) const;
//! Get the array of species activity coefficients
/*!
* @param ac output vector of activity coefficients. Length: m_kk

View file

@ -228,27 +228,6 @@ doublereal IdealSolidSolnPhase::referenceConcentration(int k) const
return 0.0;
}
doublereal IdealSolidSolnPhase::logStandardConc(size_t k) const
{
_updateThermo();
double res;
switch (m_formGC) {
case 0:
res = 0.0;
break;
case 1:
res = log(1.0/m_speciesMolarVolume[k]);
break;
case 2:
res = log(1.0/m_speciesMolarVolume[m_kk-1]);
break;
default:
throw CanteraError("eosType", "Unknown type");
break;
}
return res;
}
void IdealSolidSolnPhase::getActivityCoefficients(doublereal* ac) const
{
for (size_t k = 0; k < m_kk; k++) {