fix(physics): update deformation_gradient to use coords field

Update compute_deformation_gradient to use coords field instead of ξ
field from QuadraturePoint, matching the API change.
This commit is contained in:
Jukka Aho
2025-12-12 23:44:48 +02:00
parent 04b7eff2a2
commit ddb00eda0c
+1 -1
View File
@@ -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