Mercurial > repos > public > sbplib_julia
diff 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 |
line wrap: on
line diff
--- a/src/Grids/grid.jl Sat Jun 29 17:06:27 2024 +0200 +++ b/src/Grids/grid.jl Sun Jul 07 15:15:12 2024 -0700 @@ -109,6 +109,13 @@ function coarsen end """ + BoundaryIdentifier + +An identifier for a boundary of a grid. +""" +abstract type BoundaryIdentifier end + +""" boundary_identifiers(g::Grid) Identifiers for all the boundaries of `g`.