[cig-commits] [commit] add_gibbs_energy: Rename to emphasize extensive quantity (7286308)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Dec 11 17:11:21 PST 2014


Repository : https://github.com/geodynamics/burnman

On branch  : add_gibbs_energy
Link       : https://github.com/geodynamics/burnman/compare/0000000000000000000000000000000000000000...2148b324d3e8aa7b527f831eb397590942563008

>---------------------------------------------------------------

commit 7286308e7815403ae02f8f5f20228a3b8577919f
Author: ian-r-rose <ian.r.rose at gmail.com>
Date:   Sat Aug 30 17:37:58 2014 -0700

    Rename to emphasize extensive quantity


>---------------------------------------------------------------

7286308e7815403ae02f8f5f20228a3b8577919f
 burnman/mineral.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/burnman/mineral.py b/burnman/mineral.py
index aaa58c4..57bb0f0 100644
--- a/burnman/mineral.py
+++ b/burnman/mineral.py
@@ -235,13 +235,13 @@ class Mineral(Material):
         """
         return np.sqrt(self.adiabatic_bulk_modulus() / self.density())
 
-    def gibbs_free_energy(self):
+    def molar_gibbs(self):
         """
         Returns Gibbs free energy of the mineral [J]
         """
         return self.gibbs
 
-    def helmholtz_free_energy(self):
+    def molar_helmholtz(self):
         """
         Returns Gibbs free energy of the mineral [J]
         """



More information about the CIG-COMMITS mailing list