changeset 1648:b7dcd3dd3181 feature/sbp_operators/laplace_curvilinear

Merge
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Jun 2024 12:36:41 +0200
parents 0685d97ebcb0 (current diff) 4f6f5e5daa35 (diff)
children 707fc9761c2b
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl	Thu May 02 14:48:03 2024 +0200
+++ b/src/SbpOperators/volumeops/laplace/laplace.jl	Wed Jun 26 12:36:41 2024 +0200
@@ -62,8 +62,8 @@
     lg = logicalgrid(grid)
 
     return mapreduce(+, CartesianIndices(first(Jg))) do I
-        i,j = I[1], I[2]
-        Jgⁱʲ = componentview(Jg, I[1], I[2])
+        i, j = I[1], I[2]
+        Jgⁱʲ = componentview(Jg, i, j)
 
         if i == j
             J⁻¹∘second_derivative_variable(lg, Jgⁱʲ, stencil_set, i)