tappend nograv if gravity == 0 - sphere - GPU-based 3D discrete element method … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2761a8b0b9ebf00cb59a31627497850b300d5d6a | |
parent 6cd635fc47e08ae3bfa52306235f5a5bf94ba36a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 29 Aug 2014 15:24:52 +0200 | |
append nograv if gravity == 0 | |
Diffstat: | |
M python/capillary-cohesion.py | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/python/capillary-cohesion.py b/python/capillary-cohesion.py | |
t@@ -49,6 +49,7 @@ if gravity == 0: | |
sim.L[2] *= 5 | |
sim.num[2] *= 5 | |
sim.w_x[0] = sim.L[2] | |
+ sim.sid = sim.sid + '-nograv' | |
sim.x[:,2] += 0.5*sim.L[2] - 0.5*init_lz | |
sim.g[2] = 0.0 | |