diff src/SbpOperators/boundaryops/normal_derivative.jl @ 1786:1f42944d4a72 feature/sbp_operators/laplace_curvilinear

Fix errors introduced by merge
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 16 Sep 2024 11:03:37 +0200
parents 29b96fc75bee
children 835b1dcee38e
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/normal_derivative.jl	Mon Sep 16 10:33:47 2024 +0200
+++ b/src/SbpOperators/boundaryops/normal_derivative.jl	Mon Sep 16 11:03:37 2024 +0200
@@ -51,10 +51,10 @@
     # Assemble difference operator
     mapreduce(+,1:ndims(g)) do i
         if i == k
-            ∂_ξᵢ = normal_derivative(logicalgrid(g), stencil_set, boundary)
+            ∂_ξᵢ = normal_derivative(logical_grid(g), stencil_set, boundary)
         else
-            e = boundary_restriction(logicalgrid(g), stencil_set, boundary)
-            ∂_ξᵢ = σ ∘ e ∘ first_derivative(logicalgrid(g), stencil_set, i)
+            e = boundary_restriction(logical_grid(g), stencil_set, boundary)
+            ∂_ξᵢ = σ ∘ e ∘ first_derivative(logical_grid(g), stencil_set, i)
         end
 
         αᵢ = componentview(α,i)