Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/boundary_restriction.jl @ 2054:c08bc343d1cd feature/sbp_operators/laplace_curvilinear
Merge feature/grids/geometry_functions
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sat, 07 Feb 2026 22:54:36 +0100 |
| parents | 1f42944d4a72 5fb64e42138c |
| children |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_restriction.jl Fri Feb 06 17:35:25 2026 +0100 +++ b/src/SbpOperators/boundaryops/boundary_restriction.jl Sat Feb 07 22:54:36 2026 +0100 @@ -26,6 +26,8 @@ return BoundaryOperator(g, converted_stencil, boundary) end +boundary_restriction(::ZeroDimGrid, stencil_set::StencilSet, boundary) = throw(ArgumentError("ZeroDimGrid has no boundaries")) + function boundary_restriction(g::MappedGrid, stencil_set::StencilSet, boundary) return boundary_restriction(logical_grid(g), stencil_set, boundary) end
