An efficient way to perform the assembly of finite element matrices in Matlab and Octave
Résumé
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. We present numerical results which illustrate the computational costs of the different approaches.
Origine | Fichiers produits par l'(les) auteur(s) |
---|