TSFC swMATH ID: 20272 Software Authors: Miklós Homolya, Lawrence Mitchell, Fabio Luporini, David A. Ham Description: TSFC: a structure-preserving form compiler. 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 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 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. Homepage: https://arxiv.org/abs/1705.03667 Related Software: Firedrake; PETSc; UFL; petsc4py; COFFEE; FEniCS; mpi4py; FIAT; PyOP2; DOLFIN; Python; FIAT; MUMPS; FreeFem++; FInAT; GitHub; deal.ii; Gmsh; chammp; tIGAr Cited in: 23 Documents Standard Articles 1 Publication describing the Software, including 1 Publication in zbMATH Year TSFC: a structure-preserving form compiler. Zbl 1388.68020Homolya, Miklós; Mitchell, Lawrence; Luporini, Fabio; Ham, David A. 2018 all top 5 Cited by 41 Authors 6 Cotter, Colin John 5 Mitchell, Lawrence 4 Ham, David A. 4 Kamensky, David 4 McRae, Andrew T. T. 3 Bazilevs, Yuri 2 Budd, Christopher John 2 Chang, Justin 2 Gibson, Thomas H. 2 Joshaghani, M. S. 2 Kirby, Robert C. 2 Knepley, Matthew G. 2 Luporini, Fabio 2 Wechsung, Florian 1 Bastian, Peter 1 Bauer, Werner 1 Bercea, Gheorghe-Teodor 1 Brubeck, Pablo D. 1 Dubos, Thomas 1 Eldred, Christopher 1 Evans, John A. 1 Fabien, Maurice S. 1 Farrell, Patrick Emmet 1 Heß, René 1 Homolya, Miklós 1 Kelly, Paul H. J. 1 Kempf, Dominic 1 Kowalski, Julia 1 Kritsikis, Evaggelos 1 Mills, Richard Tran 1 Moulton, Derek E. 1 Moutsanidis, Georgios 1 Müthing, Steffen 1 Nakshatrala, Kalyana B. 1 Rivière, Beatrice M. 1 Shende, Shaunak 1 Shipton, Jemma 1 Turney, B. W. 1 Waters, Sarah Louise 1 Wimmer, Golo A. 1 Zimmerman, Alexander G. all top 5 Cited in 8 Serials 6 SIAM Journal on Scientific Computing 5 Journal of Computational Physics 3 Computers & Mathematics with Applications 3 Computer Methods in Applied Mechanics and Engineering 3 ACM Transactions on Mathematical Software 1 Journal of Fluid Mechanics 1 SpringerBriefs in Mathematics of Planet Earth 1 SMAI Journal of Computational Mathematics all top 5 Cited in 8 Fields 19 Numerical analysis (65-XX) 9 Fluid mechanics (76-XX) 5 Geophysics (86-XX) 2 Mechanics of deformable solids (74-XX) 1 Partial differential equations (35-XX) 1 Computer science (68-XX) 1 Classical thermodynamics, heat transfer (80-XX) 1 Biology and other natural sciences (92-XX) Citations by Year