tfix less particles on bottom right wall - 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 70987f25c5d5eaed2f415b609c8f37b238698dc2
 (DIR) parent 59bc172c17d44d1dc93d8b9279a8a3ca9d298c7c
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 30 Jul 2014 10:41:11 +0200
       
       fix less particles on bottom right wall
       
       Diffstat:
         M python/shortening.py                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/python/shortening.py b/python/shortening.py
       t@@ -146,7 +146,7 @@ sim.color[I] = 0
        
        # fix right-most plane of particles
        I = numpy.nonzero((sim.x[:,2] > z_max - 1.5*numpy.mean(sim.radius)) &
       -        (sim.x[:,1] > 4.0*numpy.mean(sim.radius)))
       +        (sim.x[:,1] > 10.0*numpy.mean(sim.radius)))
        sim.fixvel[I] = -1
        sim.color[I] = 0