[cig-commits] [commit] add_thermodynamic_potentials: Added print statements for module addition to HPdata parsing (3f65428)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 9 09:54:13 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : add_thermodynamic_potentials
Link : https://github.com/geodynamics/burnman/compare/2e5646d93cedbbf8eae54cc37cffc14e0aa85180...d5ddad03ff9f30f5a4efaddb4e3ec585ea1a7c51
>---------------------------------------------------------------
commit 3f65428de8d3f1439c822f84f5f994d718e4a56b
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Thu Aug 28 02:07:09 2014 +0200
Added print statements for module addition to HPdata parsing
>---------------------------------------------------------------
3f65428de8d3f1439c822f84f5f994d718e4a56b
burnman/HPdata_to_burnman.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/burnman/HPdata_to_burnman.py b/burnman/HPdata_to_burnman.py
index 78c9052..b24103d 100644
--- a/burnman/HPdata_to_burnman.py
+++ b/burnman/HPdata_to_burnman.py
@@ -52,6 +52,10 @@ def getmbr(ds, mbr):
endmember=Endmember(mbr,atoms,formula, int(ds[i*4+3][1]), map(float,ds[i*4+3][2:(len(ds[i*4+3])-1)]), float(ds[i*4+4][0]), float(ds[i*4+4][1]), float(ds[i*4+4][2]), map(float,ds[i*4+5]), float(ds[i*4+6][0]), map(float,ds[i*4+6][1:4]), flag, map(float,ds[i*4+6][5:]))
return endmember
+print 'from burnman.processchemistry import ProcessChemistry'
+print 'from burnman.mineral import Mineral'
+print ''
+
formula='0'
for i in range(int(ds[0][0])):
mbr=ds[i*4+3][0]
More information about the CIG-COMMITS
mailing list