Mercurial > repos > public > sbplib_julia
diff src/Grids/equidistant_grid.jl @ 1280:17d435c08773 refactor/grids
Add missing exports and alias TensorGridBoundary to CartesianBoundary
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 27 Feb 2023 08:48:08 +0100 |
parents | 1157f889bf50 |
children | 11b08b242e48 |
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl Sun Feb 26 21:20:52 2023 +0100 +++ b/src/Grids/equidistant_grid.jl Mon Feb 27 08:48:08 2023 +0100 @@ -118,9 +118,11 @@ Constructs a 1D equidistant grid. """ function equidistant_grid(size::Int, limit_lower::T, limit_upper::T) where T + # TBD: Should this really return a TensorGrid? return equidistant_grid((size,),(limit_lower,),(limit_upper,)) end +CartesianBoundary{D,BID} = TensorGridBoundary{D,BID} # TBD: What should we do about the naming of this boundary? """