test(domains): Remove Vec{3} conversions in stiffness block allocation test

- Changed 'ξ = Vec{3}(ip.ξ)' to 'ξ = ip.ξ' in two test locations
- First occurrence in warm-up loop
- Second occurrence in allocation measurement loop
- No conversions needed since ip.ξ is now already Vec{3}
This commit is contained in:
Jukka Aho
2025-11-20 17:57:06 +02:00
parent 4766cfe65e
commit c8b118b8b2
@@ -191,7 +191,7 @@ using JuliaFEM: default_integration, integration_points, compute_element_stiffne
for k in 1:N, l in 1:N
K_kl = zero(Tensor{2,3,Float64})
for ip in ips
ξ = Vec{3}(ip.ξ)
ξ = ip.ξ
w = ip.weight
dN_dξ = get_basis_derivatives(topology, basis, ξ)
J = X[1] ⊗ dN_dξ[1]
@@ -222,7 +222,7 @@ using JuliaFEM: default_integration, integration_points, compute_element_stiffne
for k in 1:N, l in 1:N
K_kl = zero(Tensor{2,3,Float64})
for ip in ips
ξ = Vec{3}(ip.ξ)
ξ = ip.ξ
w = ip.weight
dN_dξ = get_basis_derivatives(topology, basis, ξ)
J = X[1] ⊗ dN_dξ[1]