Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1672:3714a391545a refactor/grids/boundary_identifiers_1d
Make the boundary identifiers for EquidistantGrid subtype BoundaryIdentifer
author | Vidar Stiernström <vidar.stiernstrom@gmail.com> |
---|---|
date | Sun, 07 Jul 2024 15:15:12 -0700 |
parents | 5f348cc5598e |
children | 863385aae454 |
comparison
equal
deleted
inserted
replaced
1671:791d0f3f289a | 1672:3714a391545a |
---|---|
107 See also: [`refine`](@ref). | 107 See also: [`refine`](@ref). |
108 """ | 108 """ |
109 function coarsen end | 109 function coarsen end |
110 | 110 |
111 """ | 111 """ |
112 BoundaryIdentifier | |
113 | |
114 An identifier for a boundary of a grid. | |
115 """ | |
116 abstract type BoundaryIdentifier end | |
117 | |
118 """ | |
112 boundary_identifiers(g::Grid) | 119 boundary_identifiers(g::Grid) |
113 | 120 |
114 Identifiers for all the boundaries of `g`. | 121 Identifiers for all the boundaries of `g`. |
115 """ | 122 """ |
116 function boundary_identifiers end | 123 function boundary_identifiers end |