TSFC: a structure-preserving form compiler
TSFC: a structure-preserving form compiler
复制标题
DOI:
10.1137/17m1130642
复制
发表时间:
2017-05
期刊:
影响因子:
--
通讯作者:
Miklós Homolya;L. Mitchell;F. Luporini;D. Ham
中科院分区:
文献类型:
--
作者:
Miklós Homolya;L. Mitchell;F. Luporini;D. Ham
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 traverse...