[cig-commits] [commit] split_mt: Add dummy function for C_p to MT (975b8a5)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Dec 31 17:19:15 PST 2014


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

On branch  : split_mt
Link       : https://github.com/geodynamics/burnman/compare/b0844bfbc219618d9f94db83b437dae2a8886168...975b8a5aaacd0de3cfdeb40d8a762643ecc70b39

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

commit 975b8a5aaacd0de3cfdeb40d8a762643ecc70b39
Author: Bob Myhill <myhill.bob at gmail.com>
Date:   Thu Jan 1 01:19:00 2015 +0000

    Add dummy function for C_p to MT


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

975b8a5aaacd0de3cfdeb40d8a762643ecc70b39
 burnman/eos/modified_tait.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/burnman/eos/modified_tait.py b/burnman/eos/modified_tait.py
index 31c5a4f..cf465a6 100644
--- a/burnman/eos/modified_tait.py
+++ b/burnman/eos/modified_tait.py
@@ -92,6 +92,12 @@ class MT(eos.EquationOfState):
         """
         return 1.e99
 
+    def heat_capacity_p(self, pressure, temperature, volume, params):
+        """
+        Since this equation of state does not contain temperature effects, simply return a very large number. :math:`[J/K/mol]`
+        """
+        return 1.e99
+
     def thermal_expansivity(self,pressure, temperature, volume, params):
         """
         Since this equation of state does not contain temperature effects, simply return zero. :math:`[1/K]`



More information about the CIG-COMMITS mailing list