[Thermo] Remove unnecessarily overridden methods in PureFluidPhase

This commit is contained in:
Ray Speth 2014-09-02 22:34:25 +00:00
parent d6dd968891
commit 6a07722675
2 changed files with 0 additions and 46 deletions

View file

@ -112,29 +112,6 @@ public:
mu[0] = gibbs_mole();
}
//! Get the species electrochemical potentials.
/*!
* These are partial molar quantities. This method adds a term \f$ F z_k
* \phi_p \f$ to each chemical potential.
* The electrochemical potential of species k in a phase p, \f$ \zeta_k \f$,
* is related to the chemical potential via
* the following equation,
*
* \f[
* \zeta_{k}(T,P) = \mu_{k}(T,P) + F z_k \phi_p
* \f]
*
* @param mu Output vector of species electrochemical
* potentials. Length: m_kk. Units: J/kmol
*/
void getElectrochemPotentials(doublereal* mu) const {
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
//! Returns an array of partial molar enthalpies for the species
//! in the mixture. Units (J/kmol)
/*!
@ -176,24 +153,6 @@ public:
*/
virtual void getPartialMolarVolumes(doublereal* vbar) const;
//! This method returns the convention used in specification
//! of the standard state, of which there are currently two,
//! temperature based, and variable pressure based.
/*!
* Currently, there are two standard state conventions:
* - Temperature-based activities
* cSS_CONVENTION_TEMPERATURE 0
* - default
*
* - Variable Pressure and Temperature -based activities
* cSS_CONVENTION_VPSS 1
*
* - Thermodynamics is set via slave ThermoPhase objects with
* nothing being carried out at this %ThermoPhase object level
* cSS_CONVENTION_SLAVE 2
*/
virtual int standardStateConvention() const;
//! This method returns an array of generalized concentrations
/*!
* \f$ C^a_k\f$ are defined such that \f$ a_k = C^a_k /

View file

@ -198,11 +198,6 @@ void PureFluidPhase::getPartialMolarVolumes(doublereal* vbar) const
vbar[0] = 1.0 / molarDensity();
}
int PureFluidPhase::standardStateConvention() const
{
return cSS_CONVENTION_TEMPERATURE;
}
void PureFluidPhase::getActivityConcentrations(doublereal* c) const
{
c[0] = 1.0;