From 1f6ec9e7fe40c76f8679a3941f24118904845c84 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Fri, 12 Dec 2025 23:30:00 +0200 Subject: [PATCH] =?UTF-8?q?fix(assemblers):=20use=20coords=20field=20inste?= =?UTF-8?q?ad=20of=20=CE=BE=20in=20geometry=20cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update geometry cache to use coords field from QuadraturePoint instead of deprecated ξ field. - Change ip.ξ to ip.coords in create_geometry_cache function - Update both gradient computation and detJ*w computation --- src/assemblers/geometry_cache.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assemblers/geometry_cache.jl b/src/assemblers/geometry_cache.jl index 902f544..0017000 100644 --- a/src/assemblers/geometry_cache.jl +++ b/src/assemblers/geometry_cache.jl @@ -195,7 +195,7 @@ function create_geometry_cache( # Compute gradients and weights at all integration points ∇N_data_tuple = ntuple(NIP) do q ip = ips[q] - ξ = ip.ξ + ξ = ip.coords w = ip.weight # Compute Jacobian and physical gradients @@ -220,7 +220,7 @@ function create_geometry_cache( # Compute detJ * weight detJ_w_tuple = ntuple(NIP) do q ip = ips[q] - ξ = ip.ξ + ξ = ip.coords w = ip.weight # Recompute Jacobian (could optimize by storing from above)