diff src/SbpOperators/volumeops/laplace/laplace.jl @ 1036:99d1f5651d0b feature/stencil_set_type

Remove todo, add ::StencilSet to some methods, and update docs
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 22 Mar 2022 13:53:07 +0100
parents 7bf3121c6864
children 7fc8df5157a7
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl	Tue Mar 22 10:02:47 2022 +0100
+++ b/src/SbpOperators/volumeops/laplace/laplace.jl	Tue Mar 22 13:53:07 2022 +0100
@@ -17,7 +17,7 @@
 
 See also [`laplace`](@ref).
 """
-function Laplace(grid::EquidistantGrid, stencil_set)
+function Laplace(grid::EquidistantGrid, stencil_set::StencilSet)
     inner_stencil = parse_stencil(stencil_set["D2"]["inner_stencil"])
     closure_stencils = parse_stencil.(stencil_set["D2"]["closure_stencils"])
     Δ = laplace(grid, inner_stencil,closure_stencils)