tfix rho data type - 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 861811ef0f2268b80810e5041bab2856e5417f1f
(DIR) parent 7b778b94817662777dfbf33d2b2a1293e1ad2a93
(HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
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(-)
---
(DIR) 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