comparison src/Grids/boundary_identifier.jl @ 1143:9275d95e2d90 refactor/grids

Merge with default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 19 Oct 2022 22:36:02 +0200
parents 0bb637898fd9
children
comparison
equal deleted inserted replaced
1092:c4ea28d904f5 1143:9275d95e2d90
1
2 abstract type BoundaryIdentifier end
3
4 struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end
5 dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim
6 region(::CartesianBoundary{Dim, R}) where {Dim, R} = R()