[Thermo] Remove overload IdealSolidSolnPhase::logStandardConc
This commit is contained in:
parent
8ff82c06ce
commit
491816f706
2 changed files with 0 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue