English

Matrix-Free Methods for Finite-Strain Elasticity: Automatic Code Generation with No Performance Overhead

Numerical Analysis 2025-05-22 v1 Numerical Analysis

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.

Cite

@article{arxiv.2505.15535,
  title  = {Matrix-Free Methods for Finite-Strain Elasticity: Automatic Code Generation with No Performance Overhead},
  author = {Michał Wichrowski and Mohsen Rezaee-Hajidehi and Jože Korelc and Martin Kronbichler and Stanisław Stupkiewicz},
  journal= {arXiv preprint arXiv:2505.15535},
  year   = {2025}
}
R2 v1 2026-07-01T02:28:36.272Z