Mercurial > repos > public > sbplib_julia
changeset 2075:83759a0d0f28 feature/sbp_operators/laplace_curvilinear
Fix boundary identifier types for methods on mapped grid
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 17 Feb 2026 21:21:59 +0100 |
| parents | 8fe7233067fb |
| children | 832580b6d548 |
| files | src/Grids/mapped_grid.jl |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Tue Feb 17 21:01:50 2026 +0100 +++ b/src/Grids/mapped_grid.jl Tue Feb 17 21:21:59 2026 +0100 @@ -70,9 +70,9 @@ Base.size(g::MappedGrid, d) = size(g.logical_grid, d) boundary_identifiers(g::MappedGrid) = boundary_identifiers(g.logical_grid) -boundary_indices(g::MappedGrid, id::TensorGridBoundary) = boundary_indices(g.logical_grid, id) +boundary_indices(g::MappedGrid, id::BoundaryIdentifier) = boundary_indices(g.logical_grid, id) -function boundary_grid(g::MappedGrid, id::TensorGridBoundary) +function boundary_grid(g::MappedGrid, id::BoundaryIdentifier) b_indices = boundary_indices(g.logical_grid, id) # Calculate indices of needed jacobian components
