arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1205.2980math.NAcs.NA
收藏

优化有限元矩阵的评估

Optimizing the Evaluation of Finite Element Matrices

University of Chicago(芝加哥大学);Argonne National Laboratory(阿贡国家实验室);Toyota Technological Institute at Chicago(丰田技术学院芝加哥分校)

Robert C. Kirby, Matthew Knepley, Anders Logg, L. Ridgway Scott

AI总结:

通过发现冗余计算,优化拉普拉斯算子和Navier-Stokes三线性形式的局部刚度矩阵构建,提出启发式图算法生成代码,在二维中实现每个条目少于一个乘加对的成本。

摘要:

组装刚度矩阵是许多有限元计算中的显著成本。我们解决了优化这些矩阵评估的问题。通过发现冗余计算,我们能够显著降低拉普拉斯算子和Navier-Stokes三线性形式的局部刚度矩阵构建成本。对于二维空间中的拉普拉斯算子,我们开发了一种启发式图算法,用于搜索此类冗余并生成计算局部刚度矩阵的代码。直到三次,我们能够在每个条目少于一个乘加对的情况下构建任何三角形上的刚度矩阵。直到六次,我们可以在大约两个乘加对以内完成。三维中Poisson和Navier-Stokes算子的低阶初步结果也很有希望。

英文摘要:

Assembling stiffness matrices represents a significant cost in many finite element computations. We address the question of optimizing the evaluation of these matrices. By finding redundant computations, we are able to significantly reduce the cost of building local stiffness matrices for the Laplace operator and for the trilinear form for Navier-Stokes. For the Laplace operator in two space dimensions, we have developed a heuristic graph algorithm that searches for such redundancies and generates code for computing the local stiffness matrices. Up to cubics, we are able to build the stiffness matrix on any triangle in less than one multiply-add pair per entry. Up to sixth degree, we can do it in less than about two. Preliminary low-degree results for Poisson and Navier-Stokes operators in three dimensions are also promising.

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

↑