Mercurial > repos > public > sbplib_julia
comparison src/Grids/boundary_identifier.jl @ 1163:c9fdfb1efba8 feature/boundary_conditions
Merge with default
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 12 Oct 2022 10:45:47 +0200 |
parents | 0bb637898fd9 |
children |
comparison
equal
deleted
inserted
replaced
1137:6757cc9ba22e | 1163:c9fdfb1efba8 |
---|---|
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() |