Mercurial > repos > public > sbplib_julia
comparison src/Grids/boundary_identifier.jl @ 1355:102ebdaf7c11 feature/variable_derivatives
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 08 Feb 2023 21:21:28 +0100 |
parents | 0bb637898fd9 |
children |
comparison
equal
deleted
inserted
replaced
1210:fa0800591306 | 1355:102ebdaf7c11 |
---|---|
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() |