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