Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/boundary_restriction.jl @ 936:22c80fb36400 feature/laplace_opset
Fix docs and add some references
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 25 Feb 2022 17:20:40 +0100 |
parents | 6b47a9ee1632 |
children | 38d1752a9aff |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_restriction.jl Fri Feb 25 16:57:06 2022 +0100 +++ b/src/SbpOperators/boundaryops/boundary_restriction.jl Fri Feb 25 17:20:40 2022 +0100 @@ -4,9 +4,9 @@ Creates boundary restriction operators `e` as `TensorMapping`s on `boundary` `e` is the restriction of a grid function to `boundary` using a `Stencil` `closure_stencil`. -`e'` is the prolongation of a grid function on `boundary`` to the whole grid using the same `closure_stencil`. +`e'` is the prolongation of a grid function on `boundary` to the whole grid using the same `closure_stencil`. On a one-dimensional `grid`, `e` is a `BoundaryOperator`. On a multi-dimensional `grid`, `e` is the inflation of -a `BoundaryOperator`. See also [`SbpOperators.boundary_operator`](@ref). +a `BoundaryOperator`. See also [`boundary_operator`](@ref). """ function boundary_restriction(grid, closure_stencil::Stencil, boundary) converted_stencil = convert(Stencil{eltype(grid)}, closure_stencil)