Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit 15c86420fd81e35bbdfd44c7f7a6c9b3767137ee
parent 12955ead91015506572472d8c6db8a3379707a6c
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Thu, 16 Nov 2017 09:39:50 -0800

do not disable `fixed` flags for bottom grains

Diffstat:
Mexamples/shear.jl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/shear.jl b/examples/shear.jl @@ -231,7 +231,7 @@ while sim.time < sim.time_total grain.fixed = true grain.allow_y_acc = true grain.lin_vel[1] = vel_shear - else + elseif grain.lin_pos[2] > fixed_thickness # do not free bottom grains grain.fixed = false end end