Mercurial > repos > public > sbplib_julia
view Grids/src/Grids.jl @ 234:d119dfdd749c boundary_conditions
Add functions for getting path to sbp operator data files
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 17:53:15 +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