优化有限元矩阵的评估
Optimizing the Evaluation of Finite Element Matrices
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分析而来,可能存在错误,请以论文正文为准。