changeset 1138:0bb637898fd9 feature/grids

Forgot to include file boundary_identifier.jl in refactor.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Oct 2022 18:21:56 +0200
parents 0384bb9e78d4
children 9625360faf06
files src/Grids/boundary_identifier.jl
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Grids/boundary_identifier.jl	Tue Oct 11 18:21:56 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