[cig-commits] [commit] master: Fixed comment on Z (4fc6579)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 9 21:56:47 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : master
Link : https://github.com/geodynamics/burnman/compare/5e4f39cd2f0083b2ce1af9190304e7f1451739f4...96a37e8bbbe737b38fba242d3e2f77955d11c99a
>---------------------------------------------------------------
commit 4fc6579c204c7c39b3b8aba60e6d8ddb6d74ba42
Author: I <kmanunterborn at gmail.com>
Date: Tue Dec 9 20:56:18 2014 -0800
Fixed comment on Z
Formula unit
>---------------------------------------------------------------
4fc6579c204c7c39b3b8aba60e6d8ddb6d74ba42
burnman/tools.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/burnman/tools.py b/burnman/tools.py
index 56b5bb2..4cf5155 100644
--- a/burnman/tools.py
+++ b/burnman/tools.py
@@ -1,4 +1,4 @@
-# BurnMan - a lower mantle toolkit
+l# BurnMan - a lower mantle toolkit
# Copyright (C) 2012, 2013, Heister, T., Unterborn, C., Rose, I. and Cottaar, S.
# Released under GPL v2 or later.
@@ -86,9 +86,9 @@ def lookup_and_interpolate(table_x, table_y, x_value):
def molar_volume_from_unit_cell_volume(unit_cell_v, z):
"""
- takes unit cell volume in Angstroms^3, as is often reported,
- and the z number for the cell (number of atoms per unit cell,
- NOT number of atoms per molecular formula), and calculates
+ Takes unit cell volume in Angstroms^3 per unitcell, as is often reported,
+ and the z number for the mineral (number of formula units per unit cell,
+ NOT number of atoms per formula unit), and calculates
the molar volume, as expected by the equations of state.
"""
return unit_cell_v*N_A/1e30/z
More information about the CIG-COMMITS
mailing list