ttranslate particles - sphere - GPU-based 3D discrete element method algorithm … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit d668588d4b3af15e63f56421e3c21cc9164d550c | |
parent 857ff6042c19f5d38e5601c9f6751f5e3152766c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 Sep 2014 11:03:45 +0200 | |
ttranslate particles | |
Diffstat: | |
M python/capillary-cohesion2.py | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/python/capillary-cohesion2.py b/python/capillary-cohesion2.py | |
t@@ -29,6 +29,7 @@ r_mean_old = numpy.mean(cube.radius) | |
scale_factor = r_mean/r_mean_old | |
cube.radius *= scale_factor | |
cube.L *= scale_factor | |
+cube.x *= scale_factor | |
# Fill out grid with cubic packages | |
grid = numpy.array(( |