Automated Code Generation for Discontinuous Galerkin Methods

Kristian B. Ølgaard, Anders Logg, Garth N. Wells

SIAM Journal on Scientific Computing · 2008 · 56 citations · 20 references

DOIFull text

Open access

Concepts

Abstract

A compiler approach for generating low-level computer code from high-level input for discontinuous Galerkin finite element forms is presented. The input language mirrors conventional mathematical notation, and the compiler generates efficient code in a standard programming language. This facilitates the rapid generation of efficient code for general equations in varying spatial dimensions. Key concepts underlying the compiler approach and the automated generation of computer code are elaborated. The approach is demonstrated for a range of common problems, including the Poisson, biharmonic, advection-diffusion, and Stokes equations.

References

20