Mercurial > repos > public > sbplib_julia
diff src/Grids/Grids.jl @ 633:a78bda7084f6 feature/quadrature_as_outer_product
Merge w. default
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 01 Jan 2021 16:34:55 +0100 |
parents | 212e266043dd |
children | f0ceddeae993 |
line wrap: on
line diff
--- a/src/Grids/Grids.jl Mon Nov 30 16:28:32 2020 +0100 +++ b/src/Grids/Grids.jl Fri Jan 01 16:34:55 2021 +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 #TODO: Should return R() +region(::CartesianBoundary{Dim, R}) where {Dim, R} = R() export dim, region