treselect output - sphere - GPU-based 3D discrete element method algorithm with… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit d194eda65d84453744a5cbc1f46e634c2d68e247 | |
parent a46ed4ed9cb15cae01a5897578a35aeace71c035 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 14 Oct 2014 13:50:00 +0200 | |
reselect output | |
Diffstat: | |
M python/shear-results-pressures.py | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/python/shear-results-pressures.py b/python/shear-results-pressures… | |
t@@ -17,8 +17,8 @@ matplotlib.rcParams['image.cmap'] = 'bwr' | |
sigma0 = float(sys.argv[1]) | |
#c_grad_p = 1.0 | |
-#c_grad_p = [1.0, 0.1] | |
-c_grad_p = [1.0, 0.1, 0.01] | |
+c_grad_p = [1.0, 0.1] | |
+#c_grad_p = [1.0, 0.1, 0.01, 1e-07] | |
c_phi = 1.0 | |
t@@ -36,10 +36,10 @@ for c in numpy.arange(len(c_grad_p)): | |
zpos_c[c,i] = i*dz + 0.5*dz | |
-shear_strain = [[], [], []] | |
-dev_pres = [[], [], []] | |
-pres_static = [[], [], []] | |
-pres = [[], [], []] | |
+shear_strain = [[], [], [], []] | |
+dev_pres = [[], [], [], []] | |
+pres_static = [[], [], [], []] | |
+pres = [[], [], [], []] | |
for c in numpy.arange(len(c_grad_p)): | |
sim.sid = 'halfshear-sigma0=' + str(sigma0) + '-c=' + str(c_grad_p[c]) \ |