Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1677:51f0c5f895fb feature/grids/curvilinear
Merge default
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sun, 30 Jun 2024 10:43:02 +0200 |
| parents | b02917bcd7d5 5f348cc5598e |
| children | 13a7a4ff49e3 863385aae454 |
comparison
equal
deleted
inserted
replaced
| 1659:3bbcd496e021 | 1677:51f0c5f895fb |
|---|---|
| 80 IndexStyle(::Type{<:ArrayComponentView{<:Any,<:Any,AT}}) where AT = IndexStyle(AT) | 80 IndexStyle(::Type{<:ArrayComponentView{<:Any,<:Any,AT}}) where AT = IndexStyle(AT) |
| 81 | 81 |
| 82 # TODO: Implement `setindex!`? | 82 # TODO: Implement `setindex!`? |
| 83 # TODO: Implement a more general ComponentView that can handle non-AbstractArrays. | 83 # TODO: Implement a more general ComponentView that can handle non-AbstractArrays. |
| 84 | 84 |
| 85 | |
| 86 """ | |
| 87 min_spacing(g::Grid) | |
| 88 | |
| 89 The smallest distance between any pair of grid points in `g`. | |
| 90 """ | |
| 91 function min_spacing end | |
| 92 | |
| 85 """ | 93 """ |
| 86 refine(g::Grid, r) | 94 refine(g::Grid, r) |
| 87 | 95 |
| 88 The grid where `g` is refined by the factor `r`. | 96 The grid where `g` is refined by the factor `r`. |
| 89 | 97 |
