[cig-commits] [commit] validate_MT_params: Rebased, tidied (564a6a9)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Dec 12 18:24:01 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : validate_MT_params
Link : https://github.com/geodynamics/burnman/compare/357942f1f591773d43448484a9f8de2ba8078d98...564a6a9a1c97824b3c6f65cf4d8d6d70235a9599
>---------------------------------------------------------------
commit 564a6a9a1c97824b3c6f65cf4d8d6d70235a9599
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Fri Dec 12 18:21:55 2014 -0800
Rebased, tidied
>---------------------------------------------------------------
564a6a9a1c97824b3c6f65cf4d8d6d70235a9599
burnman/eos/cork.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/burnman/eos/cork.py b/burnman/eos/cork.py
index 40aecfe..d63ec89 100644
--- a/burnman/eos/cork.py
+++ b/burnman/eos/cork.py
@@ -151,13 +151,11 @@ class CORK(eos.EquationOfState):
if params['S_0'] is not float('nan') and params['S_0'] < 0.:
warnings.warn( 'Unusual value for S_0', stacklevel=2 )
-
if params['cork_T'] < 0.:
warnings.warn( 'Unusual value for cork_T', stacklevel=2 )
if params['cork_P'] < 1.e6 or params['cork_P'] > 1.e8:
warnings.warn( 'Unusual value for cork_P', stacklevel=2 )
-
if self.heat_capacity_p0(T_0,params) < 0.:
warnings.warn( 'Negative heat capacity at T_0', stacklevel=2 )
if self.heat_capacity_p0(2000.,params) < 0.:
More information about the CIG-COMMITS
mailing list