tfix rho data type - sphere - GPU-based 3D discrete element method algorithm wi… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 861811ef0f2268b80810e5041bab2856e5417f1f | |
parent 7b778b94817662777dfbf33d2b2a1293e1ad2a93 | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Mon, 12 Sep 2016 09:43:26 -0700 | |
fix rho data type | |
Diffstat: | |
M python/creep-master.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/creep-master.py b/python/creep-master.py | |
t@@ -5,7 +5,7 @@ import sphere | |
import numpy | |
### EXPERIMENT SETUP ### | |
-initialization = True | |
+initialization = False | |
consolidation = True | |
shearing = True | |
creeping = True | |
t@@ -92,7 +92,7 @@ cons.periodicBoundariesXY() | |
# Setup consolidation experiment | |
cons.consolidate(normal_stress = N) | |
-cons.rho = rho_g | |
+cons.rho[0] = rho_g | |
cons.g[2] = g | |
# Set duration of simulation |