[cig-commits] [commit] add_thermodynamic_potentials: Fixed Gibbs bug created last night (87d7702)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 9 09:57:14 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : add_thermodynamic_potentials
Link : https://github.com/geodynamics/burnman/compare/2e5646d93cedbbf8eae54cc37cffc14e0aa85180...d5ddad03ff9f30f5a4efaddb4e3ec585ea1a7c51
>---------------------------------------------------------------
commit 87d77022dbdf3b43e233fc7ef4b601c65ed92185
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Sat Sep 6 15:44:06 2014 +0200
Fixed Gibbs bug created last night
>---------------------------------------------------------------
87d77022dbdf3b43e233fc7ef4b601c65ed92185
burnman/slb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/burnman/slb.py b/burnman/slb.py
index 105b7f2..7a718bb 100644
--- a/burnman/slb.py
+++ b/burnman/slb.py
@@ -207,7 +207,7 @@ class SLBBase(eos.EquationOfState):
"""
Returns the Gibbs free energy at the pressure and temperature of the mineral [J/mol]
"""
- volume=self.V
+ volume=self.volume(pressure, temperature, params)
G = self.helmholtz_free_energy( pressure, temperature, volume, params) + pressure * volume
return G
More information about the CIG-COMMITS
mailing list