comparison Grids/src/Grids.jl @ 211:1ad91e11b1f4 package_refactor

Move DiffOps and Grids into packages
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Jun 2019 10:44:20 +0200
parents
children 4c62d0253bd4
comparison
equal deleted inserted replaced
210:2aa33d0eef90 211:1ad91e11b1f4
1 module Grids
2
3 abstract type BoundaryIdentifier end
4 struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end
5 dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim
6 region(::CartesianBoundary{Dim, R}) where {Dim, R} = R
7
8 include("AbstractGrid.jl")
9 include("EquidistantGrid.jl")
10
11 end # module