Mercurial > repos > public > sbplib_julia
diff RegionIndices/src/RegionIndices.jl @ 240:6bce42abf43d boundary_conditions
Export getregion
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 20:22:58 +0200 |
parents | b3506cfbb9d8 |
children | 11010bb74260 |
line wrap: on
line diff
--- a/RegionIndices/src/RegionIndices.jl Wed Jun 26 20:02:01 2019 +0200 +++ b/RegionIndices/src/RegionIndices.jl Wed Jun 26 20:22:58 2019 +0200 @@ -65,6 +65,8 @@ end end +export getregion + function getrange(gridsize::Integer, closuresize::Integer, region::DataType) if region == Lower r = 1:closuresize