Mercurial > repos > public > sbplib_julia
comparison src/Grids/equidistant_grid.jl @ 2008:df2cbcb7a2b1 default
Merge feature/grids/manifolds
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 01 May 2025 15:05:11 +0200 |
parents | 04c251bccbd4 |
children |
comparison
equal
deleted
inserted
replaced
2005:52e5ab4a96d5 | 2008:df2cbcb7a2b1 |
---|---|
152 end | 152 end |
153 | 153 |
154 equidistant_grid(d::Interval, size::Int) = equidistant_grid(limits(d)..., size) | 154 equidistant_grid(d::Interval, size::Int) = equidistant_grid(limits(d)..., size) |
155 equidistant_grid(hb::HyperBox, dims::Vararg{Int}) = equidistant_grid(limits(hb)..., dims...) | 155 equidistant_grid(hb::HyperBox, dims::Vararg{Int}) = equidistant_grid(limits(hb)..., dims...) |
156 | 156 |
157 function equidistant_grid(c::Chart, dims::Vararg{Int}) | |
158 mapped_grid(c, ξ->jacobian(c,ξ), parameterspace(c), dims...) | |
159 end | |
160 | |
157 | 161 |
158 CartesianBoundary{D,BID} = TensorGridBoundary{D,BID} # TBD: What should we do about the naming of this boundary? | 162 CartesianBoundary{D,BID} = TensorGridBoundary{D,BID} # TBD: What should we do about the naming of this boundary? |
159 | 163 |
160 | 164 |
161 """ | 165 """ |