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:
parent
31f90fe32d
commit
d75bf72e65
1 changed files with 0 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue