mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-18 09:41:31 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user