[Thermo] Remove unnecessary overloads of getElectrochemPotentials

This commit is contained in:
Ray Speth 2016-03-27 23:18:26 -04:00
parent 881fcbaf6f
commit bec0c88e32
16 changed files with 0 additions and 95 deletions

View file

@ -217,8 +217,6 @@ public:
/// @name Partial Molar Properties of the Solution
//@{
void getElectrochemPotentials(doublereal* mu) const;
//! Return an array of partial molar volumes for the
//! species in the mixture. Units: m^3/kmol.
/*!

View file

@ -341,7 +341,6 @@ public:
virtual void getPartialMolarCp(doublereal* cpbar) const;
virtual void getPartialMolarVolumes(doublereal* vbar) const;
void getElectrochemPotentials(doublereal* mu) const;
//! Get the array of temperature second derivatives of the log activity
//! coefficients

View file

@ -276,7 +276,6 @@ public:
virtual void getPartialMolarEntropies(doublereal* sbar) const;
virtual void getPartialMolarCp(doublereal* cpbar) const;
virtual void getPartialMolarVolumes(doublereal* vbar) const;
void getElectrochemPotentials(doublereal* mu) const;
//! Get the array of temperature second derivatives of the log activity
//! coefficients

View file

@ -451,12 +451,6 @@ public:
*/
virtual double osmoticCoefficient() const;
//@}
/// @name Partial Molar Properties of the Solution
//@{
void getElectrochemPotentials(doublereal* mu) const;
//@}
//! Set equation of state parameter values from XML entries.

View file

@ -92,7 +92,6 @@ public:
//@{
virtual void getChemPotentials(doublereal* mu) const;
void getElectrochemPotentials(doublereal* mu) const;
//! Returns an array of partial molar enthalpies for the species
//! in the mixture.

View file

@ -448,8 +448,6 @@ public:
*/
virtual void getPartialMolarVolumes(doublereal* vbar) const;
void getElectrochemPotentials(doublereal* mu) const;
//! Get the array of temperature second derivatives of the log activity
//! coefficients
/*!

View file

@ -346,8 +346,6 @@ public:
virtual void getPartialMolarVolumes(doublereal* vbar) const;
void getElectrochemPotentials(doublereal* mu) const;
//! Get the array of temperature second derivatives of the log activity
//! coefficients
/*!

View file

@ -147,18 +147,6 @@ public:
*/
void getChemPotentials(doublereal* mu) const;
//! Get the species electrochemical potentials. Units: J/kmol.
/*!
* This method adds a term \f$ Fz_k \phi_k \f$ to each chemical potential.
*
* This is resolved here. A single species phase is not allowed to have
* anything other than a zero charge.
*
* @param mu On return, Contains the electrochemical potential of the
* single species and the phase. Units J/kmol . Length = 1
*/
void getElectrochemPotentials(doublereal* mu) const;
//! Get the species partial molar enthalpies. Units: J/kmol.
/*!
* These are the phase enthalpies. \f$ h_k \f$.

View file

@ -134,15 +134,6 @@ void GibbsExcessVPSSTP::getActivityCoefficients(doublereal* const ac) const
}
}
void GibbsExcessVPSSTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
// ------------ Partial Molar Properties of the Solution ------------
void GibbsExcessVPSSTP::getPartialMolarVolumes(doublereal* vbar) const

View file

@ -96,15 +96,6 @@ void MargulesVPSSTP::getLnActivityCoefficients(doublereal* lnac) const
// ------------ Partial Molar Properties of the Solution ------------
void MargulesVPSSTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void MargulesVPSSTP::getChemPotentials(doublereal* mu) const
{
// First get the standard chemical potentials in molar form. This requires

View file

@ -97,15 +97,6 @@ void MixedSolventElectrolyte::getActivityCoefficients(doublereal* ac) const
// ------------ Partial Molar Properties of the Solution ------------
void MixedSolventElectrolyte::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void MixedSolventElectrolyte::getChemPotentials(doublereal* mu) const
{
// First get the standard chemical potentials in molar form. This requires

View file

@ -291,15 +291,6 @@ doublereal MolalityVPSSTP::osmoticCoefficient() const
return oc;
}
void MolalityVPSSTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void MolalityVPSSTP::setStateFromXML(const XML_Node& state)
{
VPStandardStateTP::setStateFromXML(state);

View file

@ -114,15 +114,6 @@ void MolarityIonicVPSSTP::getChemPotentials(doublereal* mu) const
}
}
void MolarityIonicVPSSTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void MolarityIonicVPSSTP::getPartialMolarEnthalpies(doublereal* hbar) const
{
// Get the nondimensional standard state enthalpies

View file

@ -102,15 +102,6 @@ void PhaseCombo_Interaction::getActivityCoefficients(doublereal* ac) const
// ------------ Partial Molar Properties of the Solution ------------
void PhaseCombo_Interaction::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void PhaseCombo_Interaction::getChemPotentials(doublereal* mu) const
{
// First get the standard chemical potentials in molar form. This requires

View file

@ -93,15 +93,6 @@ void RedlichKisterVPSSTP::getLnActivityCoefficients(doublereal* lnac) const
// ------------ Partial Molar Properties of the Solution ------------
void RedlichKisterVPSSTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
double ve = Faraday * electricPotential();
for (size_t k = 0; k < m_kk; k++) {
mu[k] += ve*charge(k);
}
}
void RedlichKisterVPSSTP::getChemPotentials(doublereal* mu) const
{
// First get the standard chemical potentials in molar form. This requires

View file

@ -131,11 +131,6 @@ void SingleSpeciesTP::getChemPotentials_RT(doublereal* murt) const
murt[0] /= RT();
}
void SingleSpeciesTP::getElectrochemPotentials(doublereal* mu) const
{
getChemPotentials(mu);
}
void SingleSpeciesTP::getPartialMolarEnthalpies(doublereal* hbar) const
{
getEnthalpy_RT(hbar);