English

Automated code generation for discontinuous Galerkin methods

Mathematical Software 2011-04-05 v1

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.

Keywords

Cite

@article{arxiv.1104.0628,
  title  = {Automated code generation for discontinuous Galerkin methods},
  author = {Kristian B. Ølgaard and Anders Logg and Garth N. Wells},
  journal= {arXiv preprint arXiv:1104.0628},
  year   = {2011}
}
R2 v1 2026-06-21T17:49:14.540Z