changeset 1658:cc9d18a5ff2d feature/sbp_operators/laplace_curvilinear

Simplify normal_derivative
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 28 Jun 2024 17:00:57 +0200
parents 9c84e97de895
children 6d196fb85133
files src/SbpOperators/boundaryops/normal_derivative.jl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/normal_derivative.jl	Thu Jun 27 16:40:50 2024 +0200
+++ b/src/SbpOperators/boundaryops/normal_derivative.jl	Fri Jun 28 17:00:57 2024 +0200
@@ -31,7 +31,7 @@
 
 function normal_derivative(g::MappedGrid, stencil_set::StencilSet, boundary)
     k = grid_id(boundary)
-    b_indices = boundary_indices(logicalgrid(g), boundary)
+    b_indices = boundary_indices(g, boundary)
 
     # Compute the weights for the logical derivatives
     g⁻¹ = geometric_tensor_inverse(g)