Added a missing function
This commit is contained in:
parent
f3a0092b42
commit
f2130b5e3f
2 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue