4.3 Article

An efficient way to assemble finite element matrices in vector languages

期刊

BIT NUMERICAL MATHEMATICS
卷 56, 期 3, 页码 833-864

出版社

SPRINGER
DOI: 10.1007/s10543-015-0587-4

关键词

Finite elements; Matrix assembly; Vectorization; Vector languages; Matlab; Octave; Python

资金

  1. GNR MoMaS
  2. CoCOA LEFE project
  3. ANR DEDALES
  4. MathSTIC (University Paris 13)

向作者/读者索取更多资源

Efficient Matlab codes in 2D and 3D have been proposed recently to assemble finite element matrices. In this paper we present simple, compact and efficient vectorized algorithms, which are variants of these codes, in arbitrary dimension, without the use of any lower level language. They can be easily implemented in many vector languages (e.g. Matlab, Octave, Python, R, Julia, Scilab, C++ with STL,...). The principle of these techniques is general, we present it for the assembly of several finite element matrices in arbitrary dimension, in the finite element case. We also provide an extension of the algorithms to the case of a system of PDE's. Then we give an extension to piecewise polynomials of higher order. We compare numerically the performance of these algorithms in Matlab, Octave and Python, with that in FreeFEM++ and in a compiled language such as C. Examples show that, unlike what is commonly believed, the performance is not radically worse than that of C : in the best/worst cases, selected vector languages are respectively 2.3/3.5 and 2.9/4.1 times slower than C in the scalar and vector cases. We also present numerical results which illustrate the computational costs of these algorithms compared to standard algorithms and to other recent ones.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.3
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据