Mercurial > repos > public > sbplib_julia
view grid.jl @ 212:aa17d4d9d09e package_refactor
Export some functions from AbstractGrid and move documentation to docstrings
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 11:00:34 +0200 |
parents | 074cb898f24e |
children |
line wrap: on
line source
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")