test: Update compute_block! call in kernel_functions test

Updated compute_block! call to pass arrays directly from caches:
- geometry_cache.∇N_data
- geometry_cache.detJ_w
- material_cache.𝔻

Maintains test comparison between manual and automatic integration.
This commit is contained in:
Jukka Aho
2025-11-20 17:43:14 +02:00
parent 13993f196f
commit 706cee4962
@@ -72,7 +72,13 @@
# Automatic integration using compute_block!
K_blocks = Matrix{Tensor{2,3,Float64,9}}(undef, N, N)
JuliaFEM.compute_block!(K_blocks, geometry_cache, material_cache, 1, 2)
JuliaFEM.compute_block!(
K_blocks,
geometry_cache.∇N_data,
geometry_cache.detJ_w,
material_cache.𝔻,
1, 2
)
K_auto = K_blocks[1, 2]
# Should match (within numerical precision)