Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/boundary_operator.jl @ 1131:560ff49ff17f
Merge with feature/grids
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 05 Oct 2022 22:03:54 +0200 |
parents | fc57804c9bf4 |
children | 5ddf5ae48391 |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_operator.jl Wed Oct 05 20:46:10 2022 +0200 +++ b/src/SbpOperators/boundaryops/boundary_operator.jl Wed Oct 05 22:03:54 2022 +0200 @@ -18,7 +18,7 @@ op = BoundaryOperator(restrict(grid, d), closure_stencil, r) # Create 1D IdentityTensors for each coordinate direction - one_d_grids = restrict.(Ref(grid), Tuple(1:dimension(grid))) + one_d_grids = restrict.(Ref(grid), Tuple(dims(grid))) Is = IdentityTensor{eltype(grid)}.(size.(one_d_grids)) # Formulate the correct outer product sequence of the identity mappings and