tChanged units in sigma and tau from hPa to kPa - sphere - GPU-based 3D discret… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit e2202b0f5f11217657a8a2ee95d01fc5fd562114 | |
parent 6f582429757f170139e97d6ec83e6fe29bdae8c5 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1072,8 +1072,8 @@ def visualize(project, method = 'energy', savefig = Fals… | |
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]), e… |