tMake sure nw=1 when doing a shear test - sphere - GPU-based 3D discrete elemen… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f6bc88c372f7e5685903e8911f6e87f4084cca4e | |
parent 93a1500f63ea94b5efe51ce8d98af4ae86225081 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 31 Mar 2014 09:13:16 +0200 | |
Make sure nw=1 when doing a shear test | |
Diffstat: | |
M python/sphere.py | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -2142,6 +2142,8 @@ class sim: | |
:type shear_strain_rate: float | |
''' | |
+ self.nw[0] = 1 | |
+ | |
# Find lowest and heighest point | |
z_min = numpy.min(self.x[:,2] - self.radius) | |
z_max = numpy.max(self.x[:,2] + self.radius) |