mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-10 13:17:42 +00:00
refactor(backend): Remove Vec{3} conversion in CPU backend
- Changed 'ξ = Vec{3}(ip.ξ)' to 'ξ = ip.ξ' in compute_element_stiffness
- No conversion needed since ip.ξ is now already Vec{3}
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ function compute_element_stiffness(element::Element{N,NIP,F,B}, time::Float64) w
|
||||
|
||||
# Integrate over element
|
||||
for ip in ips
|
||||
ξ = Vec{3}(ip.ξ)
|
||||
ξ = ip.ξ
|
||||
w = ip.weight
|
||||
|
||||
# NEW API: Basis function derivatives (shape function gradients in reference coords)
|
||||
|
||||
Reference in New Issue
Block a user