From ddb00eda0ce62e3addb83cb3bab7b476449ecc18 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Fri, 12 Dec 2025 23:44:48 +0200 Subject: [PATCH] fix(physics): update deformation_gradient to use coords field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update compute_deformation_gradient to use coords field instead of ξ field from QuadraturePoint, matching the API change. --- src/physics/deformation_gradient.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics/deformation_gradient.jl b/src/physics/deformation_gradient.jl index a2872a2..a95d2f7 100644 --- a/src/physics/deformation_gradient.jl +++ b/src/physics/deformation_gradient.jl @@ -215,7 +215,7 @@ function compute_deformation_gradient( # Get integration point ip = element.integration_points[ip_index] - ξ = Vec(ip.ξ) + ξ = Vec(ip.coords) # Get basis function derivatives w.r.t. parametric coordinates # Using new API: get_basis_derivatives returns tuple of Vec