Automated Code Generation for Discontinuous Galerkin Methods

Automated Code Generation for Discontinuous Galerkin Methods
复制标题

不连续伽辽金方法的自动代码生成

DOI:
10.1137/070710032
复制
发表时间:
2008
期刊:
SIAM J. Sci. Comput.
影响因子:
--
通讯作者:
G. N. Wells
G. N. Wells
中科院分区:
--
文献类型:
--
作者:
Kristian B. Ølgaard;A. Logg;G. N. Wells

文献摘要

被引文献

相似文献

提出了一种用于从高级输入中生成低级计算机代码的编译器方法,以示出了不连续的Galerkin有限元元素表单。输入语言反映了传统的数学符号,并且编译器以标准编程语言生成有效的代码。这有助于在不同的空间维度中快速生成一般方程的有效代码。详细阐述了编译器方法和自动生成的基础的关键概念。对于一系列常见问题,包括Poisson,Biharmonic,对流扩散和Stokes方程,都证明了这种方法。
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.