Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_restriction.jl @ 966:365bc4e2a6a2 feature/laplace_opset
Add comment and todo on introducing a type StencilSet for dispatch
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 14 Mar 2022 10:51:15 +0100 |
parents | 38d1752a9aff |
children | 7bf3121c6864 1ba8a398af9c |
comparison
equal
deleted
inserted
replaced
965:f7939de85980 | 966:365bc4e2a6a2 |
---|---|
1 # TODO: The type parameter closure_stencil::Stencil is required since there isnt any suitable type | |
2 # for stencil_set. We should consider adding type ::StencilSet and dispatch on that instead. | |
3 # The same goes for other operators | |
1 """ | 4 """ |
2 boundary_restriction(grid, closure_stencil::Stencil, boundary) | 5 boundary_restriction(grid, closure_stencil::Stencil, boundary) |
3 | 6 |
4 Creates boundary restriction operators `e` as `TensorMapping`s on `boundary` | 7 Creates boundary restriction operators `e` as `TensorMapping`s on `boundary` |
5 | 8 |