tdo not disable `fixed` flags for bottom grains - Granular.jl - Julia package for granular dynamics simulation
 (HTM) git clone git://src.adamsgaard.dk/Granular.jl
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 15c86420fd81e35bbdfd44c7f7a6c9b3767137ee
 (DIR) parent 12955ead91015506572472d8c6db8a3379707a6c
 (HTM) Author: Anders Damsgaard <andersd@riseup.net>
       Date:   Thu, 16 Nov 2017 09:39:50 -0800
       
       do not disable `fixed` flags for bottom grains
       
       Diffstat:
         M examples/shear.jl                   |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/examples/shear.jl b/examples/shear.jl
       t@@ -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