[cig-commits] [commit] add_thermodynamic_potentials, inversion, master, validate_MT_params: Moved one line after doc string. (4aee28e)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Dec 12 18:24:08 PST 2014
Repository : https://github.com/geodynamics/burnman
On branches: add_thermodynamic_potentials,inversion,master,validate_MT_params
Link : https://github.com/geodynamics/burnman/compare/80c2a295c42dfdb38f83f6c1334bf7d8f97a8463...409647ff05dfad6a686198cac1481bd46b5e2e62
>---------------------------------------------------------------
commit 4aee28e095925c36327f77a1130016678a116bcc
Author: nknezek <nknezek at gmail.com>
Date: Thu Jul 24 11:48:43 2014 -0700
Moved one line after doc string.
>---------------------------------------------------------------
4aee28e095925c36327f77a1130016678a116bcc
burnman/mie_grueneisen_debye.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/burnman/mie_grueneisen_debye.py b/burnman/mie_grueneisen_debye.py
index b06a032..fd606b2 100644
--- a/burnman/mie_grueneisen_debye.py
+++ b/burnman/mie_grueneisen_debye.py
@@ -29,11 +29,11 @@ class MGDBase(eos.EquationOfState):
return self.__grueneisen_parameter(params['V_0']/volume, params)
def volume(self, pressure,temperature,params):
- T_0 = self.reference_temperature( params )
"""
Returns volume [m^3] as a function of pressure [Pa] and temperature [K]
EQ B7
"""
+ T_0 = self.reference_temperature( params )
func = lambda x: bm.birch_murnaghan(params['V_0']/x, params) + \
self.__thermal_pressure(temperature, x, params) - \
self.__thermal_pressure(T_0, x, params) - pressure
More information about the CIG-COMMITS
mailing list