comparison src/SbpOperators/boundaryops/boundary_restriction.jl @ 1025:e74c41c4b60e feature/dissipation_operators

Merge refactor/sbpoperators/inflation
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Mar 2022 15:12:59 +0100
parents 1ba8a398af9c
children 7fc8df5157a7 05a25a5063bb
comparison
equal deleted inserted replaced
1021:ee5a641a8277 1025:e74c41c4b60e
2 # for stencil_set. We should consider adding type ::StencilSet and dispatch on that instead. 2 # for stencil_set. We should consider adding type ::StencilSet and dispatch on that instead.
3 # The same goes for other operators 3 # The same goes for other operators
4 """ 4 """
5 boundary_restriction(grid, closure_stencil::Stencil, boundary) 5 boundary_restriction(grid, closure_stencil::Stencil, boundary)
6 6
7 Creates boundary restriction operators `e` as `TensorMapping`s on `boundary` 7 Creates boundary restriction operators `e` as `LazyTensor`s on `boundary`
8 8
9 `e` is the restriction of a grid function to `boundary` using a `Stencil` `closure_stencil`. 9 `e` is the restriction of a grid function to `boundary` using a `Stencil` `closure_stencil`.
10 `e'` is the prolongation of a grid function on `boundary` to the whole grid using the same `closure_stencil`. 10 `e'` is the prolongation of a grid function on `boundary` to the whole grid using the same `closure_stencil`.
11 On a one-dimensional `grid`, `e` is a `BoundaryOperator`. On a multi-dimensional `grid`, `e` is the inflation of 11 On a one-dimensional `grid`, `e` is a `BoundaryOperator`. On a multi-dimensional `grid`, `e` is the inflation of
12 a `BoundaryOperator`. 12 a `BoundaryOperator`.