tChanged units in sigma and tau from hPa to kPa - 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 e2202b0f5f11217657a8a2ee95d01fc5fd562114
(DIR) parent 6f582429757f170139e97d6ec83e6fe29bdae8c5
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 26 Sep 2012 11:51:08 +0200
Changed units in sigma and tau from hPa to kPa
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1072,8 +1072,8 @@ def visualize(project, method = 'energy', savefig = False, outformat = 'png'):
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]*1000.0,
- sigma[i]/100.0,
- tau[i]/100.0,
+ sigma[i]/1000.0,
+ tau[i]/1000.0,
dilation[i]/L*100.0))
except (EnvironmentError, ValueError) as err:
print("{0}: export error: {1}".format(os.path.basename(sys.argv[0]), err))