Mercurial > repos > public > sbplib_julia
view Grids/src/Grids.jl @ 213:0bf761485f40 package_refactor
Add test stub to package Grids
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 11:01:17 +0200 |
parents | 1ad91e11b1f4 |
children | 4c62d0253bd4 |
line wrap: on
line source
module Grids 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 include("AbstractGrid.jl") include("EquidistantGrid.jl") end # module