Mercurial > repos > public > sbplib_julia
comparison src/Grids/boundary_identifier.jl @ 1162:62aaed9cf76b feature/dissipation_operators
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 29 Nov 2022 22:43:57 +0100 |
parents | 0bb637898fd9 |
children |
comparison
equal
deleted
inserted
replaced
1098:6f51160c7ca7 | 1162:62aaed9cf76b |
---|---|
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() |