[cig-commits] [commit] inversion, master, validate_MT_params: Remove unnecessary inheritance (3a7cc54)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Dec 12 18:24:41 PST 2014


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

On branches: inversion,master,validate_MT_params
Link       : https://github.com/geodynamics/burnman/compare/80c2a295c42dfdb38f83f6c1334bf7d8f97a8463...409647ff05dfad6a686198cac1481bd46b5e2e62

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

commit 3a7cc544dfe04f967df91e2dc919398a5902e3aa
Author: ian-r-rose <ian.r.rose at gmail.com>
Date:   Wed Aug 27 15:02:52 2014 -0700

    Remove unnecessary inheritance


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

3a7cc544dfe04f967df91e2dc919398a5902e3aa
 burnman/modified_tait.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/burnman/modified_tait.py b/burnman/modified_tait.py
index 5e30e58..f5dff4a 100644
--- a/burnman/modified_tait.py
+++ b/burnman/modified_tait.py
@@ -97,7 +97,7 @@ def modified_tait(x, params):
     return (pow((x + a - 1.) / a, -1./c) - 1.)/b
 
 
-class MTaitBase(eos.EquationOfState):
+class MT(eos.EquationOfState):
     """
     Base class for a generic modified Tait equation of state.  
     References for this can be found in Huang and Chow (1974) 
@@ -263,11 +263,3 @@ class MTaitBase(eos.EquationOfState):
         return self.__thermal_pressure(T, params) - \
                self.__thermal_pressure(T_0, params)
 
-
-class MT(MTaitBase):
-    """
-    Standard MT equation of state. 
-    This class currently exists for consistency with the MGD, 
-    SLB and BM class set structures.
-    """
-



More information about the CIG-COMMITS mailing list