Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix less particles on bottom right wall - sphere - GPU-based 3D discrete eleme…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 70987f25c5d5eaed2f415b609c8f37b238698dc2
parent 59bc172c17d44d1dc93d8b9279a8a3ca9d298c7c
Author: Anders Damsgaard <[email protected]>
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(-)
---
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
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.