arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1205.3014math.NAcs.NA
收藏

一类变分形式的高效编译

Efficient Compilation of a Class of Variational Forms

University of Chicago(芝加哥大学);Simula Research Laboratory(西穆拉研究实验室)

Robert C. Kirby, Anders Logg

AI总结:

针对仿射单纯形上的多线性变分形式,提出基于参考张量与几何张量缩并表示定理的预计算算法,在FEniCS编译器中将编译时间缩短数个数量级。

摘要:

我们研究了仿射单纯形上一般多线性变分形式的编译,并证明了单元张量(单元刚度矩阵)可表示为常数参考张量与考虑几何和可变系数的几何张量的缩并。基于该表示定理,我们设计了一种高效预计算参考张量的算法。新算法已在FEniCS表单编译器(FFC)中实现,相比之前基于循环的实现提升了数个数量级,从而缩短了FFC用户的编译时间和开发周期。

英文摘要:

We investigate the compilation of general multilinear variational forms over affines simplices and prove a representation theorem for the representation of the element tensor (element stiffness matrix) as the contraction of a constant reference tensor and a geometry tensor that accounts for geometry and variable coefficients. Based on this representation theorem, we design an algorithm for efficient pretabulation of the reference tensor. The new algorithm has been implemented in the FEniCS Form Compiler (FFC) and improves on a previous loop-based implementation by several orders of magnitude, thus shortening compile-times and development cycles for users of FFC.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑