Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1264:7a67935d3f3a refactor/grids
grid.jl: Fix function defs and add todos for documentation
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 24 Feb 2023 20:46:29 +0100 |
parents | 5e28ae42caf2 |
children | a4ddae8b5d49 |
comparison
equal
deleted
inserted
replaced
1263:b0819f6b9d4a | 1264:7a67935d3f3a |
---|---|
12 | 12 |
13 | 13 |
14 Base.ndims(::Grid{T,D}) where {T,D} = D | 14 Base.ndims(::Grid{T,D}) where {T,D} = D |
15 Base.eltype(::Type{<:Grid{T}}) where T = T | 15 Base.eltype(::Type{<:Grid{T}}) where T = T |
16 | 16 |
17 function refine(::Grid) end | 17 """ |
18 function coarsen(::Grid) end # Should this be here? What if it is not possible? | 18 # TODO |
19 """ | |
20 function refine end | |
21 | |
22 """ | |
23 # TODO | |
24 """ | |
25 function coarsen end | |
19 | 26 |
20 """ | 27 """ |
21 # TODO | 28 # TODO |
22 """ | 29 """ |
23 function boundary_identifiers end | 30 function boundary_identifiers end |
31 | |
24 """ | 32 """ |
25 # TODO | 33 # TODO |
26 """ | 34 """ |
27 function boundary_grid end | 35 function boundary_grid end |
28 | 36 |