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:
Jukka Aho
2025-11-20 17:56:08 +02:00
parent 9148ef223b
commit 414de67114
+1 -1
View File
@@ -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)