view Grids/src/Grids.jl @ 318:0c8d4a734c4f

Add some todos and add a Notes.md file
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 10 Sep 2020 10:55:30 +0200
parents 7d2ad8a73b1f
children
line wrap: on
line source

module Grids

using RegionIndices

export BoundaryIdentifier, CartesianBoundary

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

export dim, region

include("AbstractGrid.jl")
include("EquidistantGrid.jl")

end # module