changeset 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 f7939de85980
children 997ea308aeca
files TODO.md src/SbpOperators/boundaryops/boundary_restriction.jl
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TODO.md	Mon Mar 14 10:47:20 2022 +0100
+++ b/TODO.md	Mon Mar 14 10:51:15 2022 +0100
@@ -24,6 +24,7 @@
  - [ ] Add custom pretty printing to LazyTensors/SbpOperators to enhance readability of e.g error messages.
        See (https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing)
  - [ ] Move export statements to top of each module
+ - [ ] Add a type StencilSet for easier dispatch
 
 ## Repo
  - [ ] Rename repo to Sbplib.jl
--- a/src/SbpOperators/boundaryops/boundary_restriction.jl	Mon Mar 14 10:47:20 2022 +0100
+++ b/src/SbpOperators/boundaryops/boundary_restriction.jl	Mon Mar 14 10:51:15 2022 +0100
@@ -1,3 +1,6 @@
+# TODO: The type parameter closure_stencil::Stencil is required since there isnt any suitable type
+# for stencil_set. We should consider adding type ::StencilSet and dispatch on that instead.
+# The same goes for other operators
 """
     boundary_restriction(grid, closure_stencil::Stencil, boundary)