Mercurial > repos > public > sbplib_julia
changeset 240:6bce42abf43d boundary_conditions
Export getregion
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 26 Jun 2019 20:22:58 +0200 |
| parents | 60011a10e17d |
| children | 1128ab4f5758 |
| files | RegionIndices/src/RegionIndices.jl |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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
