[cig-commits] [commit] split_mt: Reverted change to K' validation for MT (b0844bf)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Dec 31 14:07:00 PST 2014


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

On branch  : split_mt
Link       : https://github.com/geodynamics/burnman/compare/58450e1a99551f71cdd4dde6146b43ad18d66e5c...b0844bfbc219618d9f94db83b437dae2a8886168

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

commit b0844bfbc219618d9f94db83b437dae2a8886168
Author: Bob Myhill <myhill.bob at gmail.com>
Date:   Wed Dec 31 22:06:33 2014 +0000

    Reverted change to K' validation for MT


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

b0844bfbc219618d9f94db83b437dae2a8886168
 burnman/eos/modified_tait.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/burnman/eos/modified_tait.py b/burnman/eos/modified_tait.py
index 00464f1..31c5a4f 100644
--- a/burnman/eos/modified_tait.py
+++ b/burnman/eos/modified_tait.py
@@ -129,8 +129,8 @@ class MT(eos.EquationOfState):
         if params['V_0'] < 1.e-7 or params['V_0'] > 1.e-3:
             warnings.warn( 'Unusual value for V_0', stacklevel=2 )
         if params['K_0'] < 1.e9 or params['K_0'] > 1.e13:
-            warnings.warn( 'Unusual value for K_0' , stacklevel=2)
-        if params['Kprime_0'] < -5. or params['Kprime_0'] > 10.:
+            warnings.warn( 'Unusual value for K_0', stacklevel=2 )
+        if params['Kprime_0'] < 0. or params['Kprime_0'] > 10.:
             warnings.warn( 'Unusual value for Kprime_0', stacklevel=2 )
         if params['G_0'] < 0.0 or params['G_0'] > 1.e13:
             warnings.warn( 'Unusual value for G_0', stacklevel=2 )



More information about the CIG-COMMITS mailing list