ttranslate particles - 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 d668588d4b3af15e63f56421e3c21cc9164d550c
(DIR) parent 857ff6042c19f5d38e5601c9f6751f5e3152766c
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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((