[cig-commits] [commit] split_mt: Remove EoS change (feecc29)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Mon Jan 5 09:02:58 PST 2015
Repository : https://github.com/geodynamics/burnman
On branch : split_mt
Link : https://github.com/geodynamics/burnman/compare/b057769c802ead7493d72ccfc2673e1b4c9df108...feecc29b8f2ecf20c432af213354543268e82d75
>---------------------------------------------------------------
commit feecc29b8f2ecf20c432af213354543268e82d75
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Mon Jan 5 18:02:57 2015 +0100
Remove EoS change
>---------------------------------------------------------------
feecc29b8f2ecf20c432af213354543268e82d75
burnman/mineral.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/burnman/mineral.py b/burnman/mineral.py
index 24e74eb..5ed89c2 100644
--- a/burnman/mineral.py
+++ b/burnman/mineral.py
@@ -69,9 +69,6 @@ class Mineral(Material):
# Warn user that they are changing the EoS
warnings.warn('Warning, you are changing the method to ' + new_method.__class__.__name__ + ' even though the material is designed to be used with the method ' + self.method.__class__.__name__ + '. This does not overwrite any mineral attributes other than temperature and pressure, which are set to nan. Stale attributes will be preserved unless they are refreshed (for example, by set_state).', stacklevel=2)
- # Set new EoS
- self.params['equation_of_state']=equation_of_state
-
try:
self.pressure=self.temperature=float('nan')
except AttributeError:
More information about the CIG-COMMITS
mailing list