Mercurial > repos > public > sbplib_julia
comparison Grids/src/Grids.jl @ 291:0f94dc29c4bf
Merge in branch boundary_conditions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 22 Jun 2020 21:43:05 +0200 |
parents | 7d2ad8a73b1f |
children |
comparison
equal
deleted
inserted
replaced
231:fbabfd4e8f20 | 291:0f94dc29c4bf |
---|---|
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 |
11 | 11 |
12 export dim, region | |
13 | |
12 include("AbstractGrid.jl") | 14 include("AbstractGrid.jl") |
13 include("EquidistantGrid.jl") | 15 include("EquidistantGrid.jl") |
14 | 16 |
15 end # module | 17 end # module |