comparison 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
comparison
equal deleted inserted replaced
2051:21925a343989 2053:3a4575fa2702
26 h_inv = inverse_spacing(g) 26 h_inv = inverse_spacing(g)
27 27
28 scaled_stencil = scale(closure_stencil,h_inv) 28 scaled_stencil = scale(closure_stencil,h_inv)
29 return BoundaryOperator(g, scaled_stencil, boundary) 29 return BoundaryOperator(g, scaled_stencil, boundary)
30 end 30 end
31
32 normal_derivative(::ZeroDimGrid, stencil_set::StencilSet, boundary) = throw(ArgumentError("ZeroDimGrid has no boundaries"))