An efficient way to perform the assembly of finite element matrices in vector languages - Université Sorbonne Paris Nord
Pré-Publication, Document De Travail Année : 2014

An efficient way to perform the assembly of finite element matrices in vector languages

Résumé

We describe different optimization techniques to perform the assembly of finite element matrices in vector languages (e.g. Matlab, Octave, Python), from the standard approach to recent vectorized ones, without any low level language used. We finally obtain a simple and efficient vectorized algorithm. A comparison is given with a compiled language such as C. Unlike what was expected and generally accepted, examples show that the performances of Matlab, Octave and Python are not as far as the ones of C. The principle of this assembly algorithm is general, we present it for a large class of partial differential operators in the scalar or vector cases in 2d and 3d, in the P1 finite elements case, with an application to linear elasticity. We present numerical results which illustrate the computational costs of the different approaches.
Fichier principal
Vignette du fichier
paperHAL.pdf (244.2 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00931066 , version 1 (14-01-2014)
hal-00931066 , version 2 (15-04-2015)

Identifiants

Citer

François Cuvelier, Caroline Japhet, Gilles Scarella. An efficient way to perform the assembly of finite element matrices in vector languages. 2014. ⟨hal-00931066v1⟩
794 Consultations
13302 Téléchargements

Altmetric

Partager

More