tadd fix for ice floe disabling - 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 66d9f3e3d75e83a0d4550bdfeb7f7e7f127cd341
DIR parent 2208ff9aec927ef82e2e88cfaed96bbd066aaf93
HTML Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 1 May 2017 16:15:00 -0400
add fix for ice floe disabling
Diffstat:
M src/grid.jl | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/src/grid.jl b/src/grid.jl
t@@ -53,6 +53,7 @@ function sortIceFloesInOceanGrid!(simulation::Simulation; verbose=false)
# remove ice floe if it is outside of the grid
if i == 0 && j == 0
disableIceFloe!(simulation, idx)
+ continue
end
# add cell to ice floe