mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-28 23:22:54 +00:00
d676ab3bba
New benchmark testing nodal assembly performance on CPU: - 438 lines implementing three execution modes - Single-threaded baseline (reference performance) - Multi-threaded using @threads (measures scaling efficiency) - Partitioned mode (simulates multi-GPU with explicit partitions) Features: - Hex8 mesh generation (structured hexahedral elements) - Node-to-element inverse connectivity building - Mesh partitioning with ghost nodes and interface detection - Performance metrics: throughput (Mnodes/s), speedup, efficiency - Correctness verification (compares results to baseline) Test mesh sizes: 20³, 40³, 60³ (8K to 216K nodes) Measures: execution time, speedup vs baseline, parallel efficiency Interface overhead calculation for partitioned mode Run with: julia --project=. -t 8 benchmarks/nodal_assembly_scalability.jl