URI:
       tAlways sort grains in grid before starting irregular packing algorithm - Granular.jl - Julia package for granular dynamics simulation
  HTML git clone git://src.adamsgaard.dk/Granular.jl
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit a3cf4e735204a99d2e485473926aa46b4d0c4730
   DIR parent 686f2c3d6d451705dfc97d89dcbdfc2a8e091e35
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Fri,  4 May 2018 12:08:17 -0400
       
       Always sort grains in grid before starting irregular packing algorithm
       
       Diffstat:
         M src/packing.jl                      |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/src/packing.jl b/src/packing.jl
       t@@ -192,6 +192,7 @@ function irregularPacking!(simulation::Simulation;
            else
                error("irregularPacking requires an ocean or atmosphere grid")
            end
       +    sortGrainsInGrid!(simulation, grid)
            # save grid boundaries
            sw, se, ne, nw = getGridCornerCoordinates(grid.xq, grid.yq)
            width_x = se[1] - sw[1]  # assume regular grid