Mercurial > repos > public > sbplib_julia
view Grids/src/Grids.jl @ 228:5acef2d5db2e boundary_conditions
Move Laplace operator and related structs/functions to separate file.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 26 Jun 2019 14:38:01 +0200 |
parents | 235f0a771c8f |
children | 7d2ad8a73b1f |
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 include("AbstractGrid.jl") include("EquidistantGrid.jl") end # module