mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-20 18:18:31 +00:00
783c075277
Detailed performance analysis of automatic differentiation overhead in hyperelastic stress computation for Neo-Hookean material model. Key analyses: 1. Single stress evaluation timing (typical FEM assembly use case) 2. Allocation verification (zero-allocation requirement) 3. Component breakdown (strain energy vs stress vs tangent) 4. Scaling with problem size (assembly loop performance) Compares NeoHookean (AD) against LinearElastic (manual derivatives) to quantify AD overhead in production FEM assembly loops. Results inform whether AD is suitable for hot paths vs manual derivatives for performance-critical material models (260 lines).