changeset 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 6757cc9ba22e (current diff) 0aa8ce9f30e2 (diff)
children d26aef8a5987
files
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	Wed Oct 12 10:45:47 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