diff src/SbpOperators/boundaryops/normal_derivative.jl @ 1696:29b96fc75bee feature/sbp_operators/laplace_curvilinear

Merge feature/grids/manifolds
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 28 Aug 2024 10:50:15 +0200
parents b30db2ea34ed
children 1f42944d4a72
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/normal_derivative.jl	Wed Aug 28 09:56:35 2024 +0200
+++ b/src/SbpOperators/boundaryops/normal_derivative.jl	Wed Aug 28 10:50:15 2024 +0200
@@ -34,7 +34,7 @@
     b_indices = boundary_indices(g, boundary)
 
     # Compute the weights for the logical derivatives
-    g⁻¹ = geometric_tensor_inverse(g)
+    g⁻¹ = metric_tensor_inverse(g)
     α = map(CartesianIndices(g⁻¹)[b_indices...]) do I # TODO: Fix iterator here
         gᵏⁱ = g⁻¹[I][k,:]
         gᵏᵏ = g⁻¹[I][k,k]