Mercurial > repos > public > sbplib_julia
comparison src/Grids/boundary_identifier.jl @ 1140:0aa8ce9f30e2
Merged feature/grids
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 12 Oct 2022 10:44:44 +0200 |
parents | 0bb637898fd9 |
children |
comparison
equal
deleted
inserted
replaced
1131:560ff49ff17f | 1140:0aa8ce9f30e2 |
---|---|
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() |