Mercurial > repos > public > sbplib_julia
diff src/Grids/boundary_identifier.jl @ 1149:5ddf5ae48391 refactor/sbpoperators/inflation
Merge default
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 18 Oct 2022 20:27:31 +0200 |
| parents | 0bb637898fd9 |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Grids/boundary_identifier.jl Tue Oct 18 20:27:31 2022 +0200 @@ -0,0 +1,6 @@ + +abstract type BoundaryIdentifier end + +struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end +dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim +region(::CartesianBoundary{Dim, R}) where {Dim, R} = R() \ No newline at end of file
