tfix object name - sphere - GPU-based 3D discrete element method algorithm with… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f7c44f8a26363e508d1c2c4702980921b2506e1d | |
parent b973449d963504e65e168bbb3190043e2a81bf40 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 Sep 2014 11:29:50 +0200 | |
fix object name | |
Diffstat: | |
M python/capillary-cohesion2.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/capillary-cohesion2.py b/python/capillary-cohesion2.py | |
t@@ -72,7 +72,7 @@ for z in range(nz): | |
cube.x[i,2] + z*dz ] | |
sim.addParticle(pos, radius=cube.radius[i], color=grid[z,x]) | |
-cellsize_min = 2.1 * numpy.amax(self.radius) | |
+cellsize_min = 2.1 * numpy.amax(sim.radius) | |
sim.defineWorldBoundaries([Lx, Ly, Lz], dx = cellsize_min) | |
sim.zeroKinematics() | |
sim.checkerboardColors() |