Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/normal_derivative.jl @ 2053:3a4575fa2702 feature/grids/geometry_functions
Merge bugfix/zero_dim_grid_boundary_ops
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sat, 07 Feb 2026 22:52:17 +0100 |
| parents | 0e93fc7fb2e2 |
| children | c08bc343d1cd |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/normal_derivative.jl Fri Feb 06 17:34:58 2026 +0100 +++ b/src/SbpOperators/boundaryops/normal_derivative.jl Sat Feb 07 22:52:17 2026 +0100 @@ -28,3 +28,5 @@ scaled_stencil = scale(closure_stencil,h_inv) return BoundaryOperator(g, scaled_stencil, boundary) end + +normal_derivative(::ZeroDimGrid, stencil_set::StencilSet, boundary) = throw(ArgumentError("ZeroDimGrid has no boundaries"))
