Mercurial > repos > public > sbplib_julia
view Grids/src/Grids.jl @ 245:d9e262cb2e8d boundary_conditions
Rename apply_e and _d to _e_T and _d_T. Implement _e _d and using them in laplace.jl
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 27 Jun 2019 12:49:58 +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