tChanged units in xdisp from cm to mm - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 6f582429757f170139e97d6ec83e6fe29bdae8c5
(DIR) parent 72b4bef96258d2eb7b79c02988aa05089dc1baad
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 26 Sep 2012 11:45:52 +0200
Changed units in xdisp from cm to mm
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1071,7 +1071,7 @@ def visualize(project, method = 'energy', savefig = False, outformat = 'png'):
L = sb.L[2] - sb.origo[2] # Initial height
for i in range(lastfile+1):
# format: shear distance [mm], sigma [kPa], tau [kPa], Dilation [%]
- fh.write("{0}\t{1}\t{2}\t{3}\n".format(xdisp[i]*100.0,
+ fh.write("{0}\t{1}\t{2}\t{3}\n".format(xdisp[i]*1000.0,
sigma[i]/100.0,
tau[i]/100.0,
dilation[i]/L*100.0))