Matrix-Free Methods for Finite-Strain Elasticity: Automatic Code Generation with No Performance Overhead
Micha{\l} Wichrowski, Mohsen Rezaee-Hajidehi, Jo\v{z}e Korelc, Martin Kronbichler, Stanis{\l}aw Stupkiewicz

TL;DR
This paper presents a method for automatic code generation of matrix-free tangent evaluations in finite-strain elasticity, demonstrating improved performance over hand-written code through automatic differentiation and strategic computation approaches.
Contribution
It introduces an automatic differentiation-based code generation approach for matrix-free finite-strain elasticity calculations, eliminating performance overhead.
Findings
AD-generated code outperforms hand-written code in efficiency
On-the-fly evaluation and caching strategies impact performance
Automatic code generation simplifies implementation without sacrificing speed
Abstract
This study explores matrix-free tangent evaluations in finite-strain elasticity with the use of automatically-generated code for the quadrature-point level calculations. The code generation is done via automatic differentiation (AD) with AceGen. We compare hand-written and AD-generated codes under two computing strategies: on-the-fly evaluation and caching intermediate results. The comparison reveals that the AD-generated code achieves superior performance in matrix-free computations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMetal Forming Simulation Techniques · Numerical methods in engineering · Model Reduction and Neural Networks
