An efficient way to perform the assembly of finite element matrices in Matlab and Octave
Abstract
We describe different optimization techniques to perform the assembly of finite element matrices in Matlab and Octave, from the standard approach to recent vectorized ones, without any low level language used. We finally obtain a simple and efficient vectorized algorithm able to compete in performance with dedicated software such as FreeFEM++. The principle of this assembly algorithm is general, we present it for different matrices in the P1 finite elements case and in linear elasticity. We present numerical results which illustrate the computational costs of the different approaches
- Publication:
-
arXiv e-prints
- Pub Date:
- May 2013
- DOI:
- 10.48550/arXiv.1305.3122
- arXiv:
- arXiv:1305.3122
- Bibcode:
- 2013arXiv1305.3122C
- Keywords:
-
- Computer Science - Numerical Analysis;
- Computer Science - Mathematical Software;
- Mathematics - Numerical Analysis
- E-Print:
- Inria: No: RR-8305 (2013)