[cig-commits] [commit] add_gibbs_energy: Fixed Gibbs bug created last night (84fbe9b)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Dec 11 17:12:35 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : add_gibbs_energy
Link : https://github.com/geodynamics/burnman/compare/0000000000000000000000000000000000000000...2148b324d3e8aa7b527f831eb397590942563008
>---------------------------------------------------------------
commit 84fbe9b88d052175e2e4b72e645f61370fafe287
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Sat Sep 6 15:44:06 2014 +0200
Fixed Gibbs bug created last night
>---------------------------------------------------------------
84fbe9b88d052175e2e4b72e645f61370fafe287
burnman/slb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/burnman/slb.py b/burnman/slb.py
index 4127907..9d2d45f 100644
--- a/burnman/slb.py
+++ b/burnman/slb.py
@@ -210,7 +210,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