Removed duplicated methods from IdealMolalSoln

The class incorrectly had copies of the non-virtual methods 'electricPotential'
and 'setElectricPotential' from the base class ThermoPhase.
This commit is contained in:
Ray Speth 2013-01-11 22:56:49 +00:00
parent 31f90fe32d
commit d75bf72e65

View file

@ -407,24 +407,6 @@ public:
return err("potentialEnergy");
}
/*
* Set the electric potential of this phase (V).
* This is used by classes InterfaceKinetics and EdgeKinetics to
* compute the rates of charge-transfer reactions, and in computing
* the electrochemical potentials of the species.
*
* @param v input Electric Potential (volts).
*/
void setElectricPotential(doublereal v) {
m_phi = v;
}
//! Returns the electric potential of this phase (V).
doublereal electricPotential() const {
return m_phi;
}
/**
* @}
* @name Activities and Activity Concentrations