Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_restriction.jl @ 995:1ba8a398af9c refactor/lazy_tensors
Rename types
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 18 Mar 2022 21:14:47 +0100 |
parents | 365bc4e2a6a2 |
children | 7fc8df5157a7 05a25a5063bb |
comparison
equal
deleted
inserted
replaced
994:55ab7801c45f | 995:1ba8a398af9c |
---|---|
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`. |