Mercurial > repos > public > sbplib_julia
comparison src/Grids/tensor_grid.jl @ 1871:b1eb33e62d1e refactor/grids/iterable_boundary_indices
Remove unneded type paramter name
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 27 Jan 2025 09:17:54 +0100 |
parents | 516eaabf1169 |
children |
comparison
equal
deleted
inserted
replaced
1864:fa96b57af6a1 | 1871:b1eb33e62d1e |
---|---|
93 new_grids = Base.setindex(g.grids, local_boundary_grid, grid_id(id)) | 93 new_grids = Base.setindex(g.grids, local_boundary_grid, grid_id(id)) |
94 return TensorGrid(new_grids...) | 94 return TensorGrid(new_grids...) |
95 end | 95 end |
96 | 96 |
97 | 97 |
98 function boundary_indices(g::TensorGrid{T,1} where T, id::TensorGridBoundary) | 98 function boundary_indices(g::TensorGrid{<:Any, 1}, id::TensorGridBoundary) |
99 return boundary_indices(g.grids[grid_id(id)], boundary_id(id)) | 99 return boundary_indices(g.grids[grid_id(id)], boundary_id(id)) |
100 end | 100 end |
101 function boundary_indices(g::TensorGrid, id::TensorGridBoundary) | 101 function boundary_indices(g::TensorGrid, id::TensorGridBoundary) |
102 local_b_ind = boundary_indices(g.grids[grid_id(id)], boundary_id(id)) | 102 local_b_ind = boundary_indices(g.grids[grid_id(id)], boundary_id(id)) |
103 | 103 |