tupdate initGridPos call - 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 450a1d581e1876b7e74bfb6c9e7c450e44eebcee
(DIR) parent 81dcc7c9d40b48df512156b2296a1498714a0afc
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 20 May 2015 09:27:20 +0200
update initGridPos call
Diffstat:
M python/shear-test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/shear-test.py b/python/shear-test.py
t@@ -39,7 +39,7 @@ init.periodicBoundariesXY()
# Initialize positions in random grid (also sets world size)
hcells = np**(1.0/3.0)
-init.initRandomGridPos(gridnum = numpy.array([hcells, hcells, 1e9]), periodic = 1, contactmodel = 2)
+init.initRandomGridPos(gridnum = [hcells, hcells, 1e9])
# Set duration of simulation
init.initTemporal(total = 5.0)