Firedrake: automating the finite element method by composing abstractions

Florian Rathgeber, David A Ham, Lawrence Mitchell, Michael Lange, Fabio Luporini, Andrew T T McRae, Gheorghe-Teodor Bercea, Graham R Markall, Paul H J Kelly

Research output: Contribution to journalArticlepeer-review

141 Citations (Scopus)

Abstract

Firedrake is a new tool for automating the numerical solution of partial differential equations. Firedrake adopts the domain-specific language for the finite element method of the FEniCS project, but with a pure Python runtime-only implementation centred on the composition of several existing and new abstractions for particular aspects of scientific computing. The result is a more complete separation of concerns which eases the incorporation of separate contributions from computer scientists, numerical analysts and application specialists. These contributions may add functionality, or improve performance.

Firedrake benefits from automatically applying new optimisations. This includes factorising mixed function spaces, transforming and vectorising inner loops, and intrinsically supporting block matrix operations. Importantly, Firedrake presents a simple public API for escaping the UFL abstraction. This allows users to implement common operations that fall outside pure variational formulations, such as flux-limiters.
Original languageEnglish
JournalACM Transactions on Mathematical Software
DOIs
Publication statusPublished - 16 Jan 2017

Fingerprint Dive into the research topics of 'Firedrake: automating the finite element method by composing abstractions'. Together they form a unique fingerprint.

Cite this