Mercurial > repos > public > sbplib_julia
diff src/Grids/equidistant_grid.jl @ 1565:c3425b4302b8 feature/grids/manifolds
Add equidistant_grid method for HyperBox
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 25 Apr 2024 13:21:12 +0200 |
parents | 43aaf710463e |
children | b9c7bab94241 |
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl Thu Apr 25 13:17:48 2024 +0200 +++ b/src/Grids/equidistant_grid.jl Thu Apr 25 13:21:12 2024 +0200 @@ -127,6 +127,10 @@ return EquidistantGrid(range(limit_lower, limit_upper, length=size)) # TBD: Should it use LinRange instead? end + +equidistant_grid(hb::HyperBox, dims::Vararg{Int}) = equidistant_grid(hb.a, hb.b, dims...) + + CartesianBoundary{D,BID} = TensorGridBoundary{D,BID} # TBD: What should we do about the naming of this boundary?