Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/boundaryops/boundary_operator.jl @ 1143:9275d95e2d90 refactor/grids
Merge with default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 19 Oct 2022 22:36:02 +0200 |
parents | fc57804c9bf4 |
children | 5ddf5ae48391 |
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_operator.jl Wed Apr 27 10:25:53 2022 +0200 +++ b/src/SbpOperators/boundaryops/boundary_operator.jl Wed Oct 19 22:36:02 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