tupdate initGridPos call - sphere - GPU-based 3D discrete element method algori… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 450a1d581e1876b7e74bfb6c9e7c450e44eebcee | |
parent 81dcc7c9d40b48df512156b2296a1498714a0afc | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 … | |
+init.initRandomGridPos(gridnum = [hcells, hcells, 1e9]) | |
# Set duration of simulation | |
init.initTemporal(total = 5.0) |