comparison src/Grids/Grids.jl @ 524:41c1760a7770 feature/inflated_tensormapping_transpose

Merge refactor/inflated_tensormapping_tests
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 25 Nov 2020 15:10:46 +0100
parents afdfb027e439
children 212e266043dd
comparison
equal deleted inserted replaced
520:fe86ac896377 524:41c1760a7770
5 export BoundaryIdentifier, CartesianBoundary 5 export BoundaryIdentifier, CartesianBoundary
6 6
7 abstract type BoundaryIdentifier end 7 abstract type BoundaryIdentifier end
8 struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end 8 struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end
9 dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim 9 dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim
10 region(::CartesianBoundary{Dim, R}) where {Dim, R} = R 10 region(::CartesianBoundary{Dim, R}) where {Dim, R} = R #TODO: Should return R()
11 11
12 export dim, region 12 export dim, region
13 13
14 include("AbstractGrid.jl") 14 include("AbstractGrid.jl")
15 include("EquidistantGrid.jl") 15 include("EquidistantGrid.jl")