Added a missing function

This commit is contained in:
Harry Moffat 2014-06-05 22:41:55 +00:00
parent f3a0092b42
commit f2130b5e3f
2 changed files with 8 additions and 0 deletions

View file

@ -493,6 +493,8 @@ public:
m_press = p;
}
virtual void getPureGibbs(doublereal* g) const;
//! Returns the vector of nondimensional
//! Gibbs Free Energies of the reference state at the current temperature
//! of the solution and the reference pressure for the species.

View file

@ -186,6 +186,12 @@ void SurfPhase::setParameters(int n, doublereal* const c)
setSiteDensity(c[0]);
}
void SurfPhase::getPureGibbs(doublereal* g) const
{
_updateThermo();
copy(m_mu0.begin(), m_mu0.end(), g);
}
void SurfPhase::getGibbs_RT(doublereal* grt) const
{
_updateThermo();