Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/boundary_restriction.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 | 5fb64e42138c |
| children | c08bc343d1cd |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_restriction.jl Fri Feb 06 17:34:58 2026 +0100 +++ b/src/SbpOperators/boundaryops/boundary_restriction.jl Sat Feb 07 22:52:17 2026 +0100 @@ -25,3 +25,5 @@ converted_stencil = convert(Stencil{eltype(g)}, closure_stencil) return BoundaryOperator(g, converted_stencil, boundary) end + +boundary_restriction(::ZeroDimGrid, stencil_set::StencilSet, boundary) = throw(ArgumentError("ZeroDimGrid has no boundaries"))
