Mercurial > repos > public > sbplib_julia
view Grids/src/Grids.jl @ 262:f1e90a92ad74 boundary_conditions
Add Quadrature and InverseQuadrature for Laplace as TensorMappings. Implement and test the 2D case. Fix implementation of apply_transpose for BoundaryQuadrature and add tests.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 26 Nov 2019 08:28:26 -0800 |
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