Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1678:13a7a4ff49e3 feature/grids/manifolds
Merge feature/grids/curvilinear
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 30 Jun 2024 10:50:44 +0200 |
parents | 8250cf5a3ce9 51f0c5f895fb |
children | 03894fd7b132 |
comparison
equal
deleted
inserted
replaced
1650:8250cf5a3ce9 | 1678:13a7a4ff49e3 |
---|---|
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 |