Mercurial > repos > public > sbplib_julia
diff src/Grids/Grids.jl @ 562:8f7919a9b398 feature/boundary_ops
Merge with default
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 30 Nov 2020 18:30:24 +0100 |
parents | afdfb027e439 |
children | 212e266043dd |
line wrap: on
line diff
--- a/src/Grids/Grids.jl Thu Nov 26 09:03:54 2020 +0100 +++ b/src/Grids/Grids.jl Mon Nov 30 18:30:24 2020 +0100 @@ -7,7 +7,7 @@ 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 +region(::CartesianBoundary{Dim, R}) where {Dim, R} = R #TODO: Should return R() export dim, region