Metraipolis › archive › dc_56acd303112d
Extensible Programmatic Specification of Finite Element Methods — arXiv:2611.01414
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.01414
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-03T18:59:22.031Z
- SHA-256 of the archived text
f4d1a0325e4eceb0ecaf3eb22fafdeb5833f223e8686737cb2b8b10fe2cd1453- Stable URL of this page
https://metraipolis.com/documento/dc_56acd303112d
How to cite
Extensible Programmatic Specification of Finite Element Methods — arXiv:2611.01414 — arXiv (en), https://arxiv.org/abs/2611.01414 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_56acd303112d (Metraipolis archive dc_56acd303112d, sha256 f4d1a0325e4eceb0ecaf3eb22fafdeb5833f223e8686737cb2b8b10fe2cd1453)
BibTeX
@misc{dc56acd303112d,
title = {Extensible Programmatic Specification of Finite Element Methods — arXiv:2611.01414},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.01414},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_56acd303112d; sha256 f4d1a0325e4eceb0ecaf3eb22fafdeb5833f223e8686737cb2b8b10fe2cd1453},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.01414. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Finite element methods (FEMs) are a powerful and ubiquitous tool for solving engineering problems. Experimenting with different finite elements can improve the quality and efficiency of solutions. In some cases, the wrong (but nonetheless most common) choice of finite element will produce solutions which converge to the wrong answer regardless of mesh resolution. However, in practice, the choice of finite element is not explored due to the complexity of re-deriving and re-implementing finite element methods. Trying a new finite element is challenging because practitioners must manually deduce formulas to use these elements and implement them within a potentially complex system. We address this problem by introducing ElementForge, a finite element system that is parametric over the literate mathematical specification of a finite element in a domain-specific language (DSL). The ElementForge compiler reasons about tensor spaces, tensors, and tensor bases from first principles to derive implementations of finite elements. The ElementForge compiler is able to automatically derive implementations of finite elements previously only derived by hand. Further, ElementForge minimally couples several key mathematical concepts, mainly tensor fields, mesh topologies, sparse tensors, and assembled finite element operators, to produce a complete finite element system that is parametric over the choice of element. Consequently, the elements derived by the compiler can be applied parametrically to new meshes, PDEs, and boundary conditions. We evaluate our system by implementing several simulations with different finite elements, demonstrating that our system can explore tradeoffs in generality, accuracy, speed, and representational complexity. For example, we are able to implement the Morley, Bell, Argyris, and Hermite like elements with less than 50 lines of code and use them all in a single simulation. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PL, nuovi lavori del giorno). Categorie arXiv: Mathematical Software (cs.MS) ; Graphics (cs.GR); Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2611.01414 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-03T18:19:09.698Z dalla pagina https://arxiv.org/list/cs.PL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).