Miklós Homolya
TSFC: A Structure-Preserving Form Compiler
Homolya, Miklós; Mitchell, Lawrence; Luporini, Fabio; Ham, David A.
Authors
Lawrence Mitchell
Fabio Luporini
David A. Ham
Abstract
A form compiler takes a high-level description of the weak form of partial differential equations and produces low-level code that carries out the finite element assembly. In this paper we present the Two-Stage Form Compiler (TSFC), a new form compiler with the main motivation being to maintain the structure of the input expression as long as possible. This facilitates the application of optimizations at the highest possible level of abstraction. TSFC features a novel, structure-preserving method for separating the contributions of a form to the subblocks of the local tensor in discontinuous Galerkin problems. This enables us to preserve the tensor structure of expressions longer through the compilation process than is possible with other form compilers. This is also achieved in part by a two-stage approach that cleanly separates the lowering of finite element constructs to tensor algebra in the first stage, from the scheduling of those tensor operations in the second stage. TSFC also efficiently traverses complicated expressions, and experimental evaluation demonstrates good compile-time performance even for highly complex forms.
Citation
Homolya, M., Mitchell, L., Luporini, F., & Ham, D. A. (2018). TSFC: A Structure-Preserving Form Compiler. SIAM Journal on Scientific Computing, 40(3), C401-C428. https://doi.org/10.1137/17m1130642
Journal Article Type | Article |
---|---|
Acceptance Date | Apr 6, 2018 |
Online Publication Date | Jun 26, 2018 |
Publication Date | Jun 26, 2018 |
Deposit Date | Aug 1, 2018 |
Publicly Available Date | Aug 2, 2018 |
Journal | SIAM Journal on Scientific Computing |
Print ISSN | 1064-8275 |
Electronic ISSN | 1095-7197 |
Publisher | Society for Industrial and Applied Mathematics |
Peer Reviewed | Peer Reviewed |
Volume | 40 |
Issue | 3 |
Pages | C401-C428 |
DOI | https://doi.org/10.1137/17m1130642 |
Public URL | https://durham-repository.worktribe.com/output/1324887 |
Related Public URLs | https://arxiv.org/pdf/1705.03667.pdf |
Files
Published Journal Article
(567 Kb)
PDF
Publisher Licence URL
http://creativecommons.org/licenses/by/4.0/
Copyright Statement
© 2018 SIAM. Published by SIAM under the terms of the Creative Commons 4.0 license
You might also like
Bringing trimmed Serendipity methods to computational practice in Firedrake
(2022)
Journal Article
PCPATCH: software for the topological construction of multigrid relaxation methods
(2021)
Journal Article
A study of vectorization for matrix-free finite element methods
(2020)
Journal Article
Downloadable Citations
About Durham Research Online (DRO)
Administrator e-mail: dro.admin@durham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search