An efficient way to perform the assembly of finite element matrices in Matlab and Octave

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

Data and Resources

Additional Info

Field Value
Source https://inria.hal.science/hal-00785101
Author Cuvelier, François, Japhet, Caroline, Scarella, Gilles
Maintainer CCSD
Last Updated May 11, 2026, 04:09 (UTC)
Created May 11, 2026, 04:09 (UTC)
Identifier Report N°: RR-8305
Language en
Rights https://about.hal.science/hal-authorisation-v1/
contributor Modélisation et Calcul Scientifique (MCS) ; Laboratoire Analyse, Géométrie et Applications (LAGA) ; Université Paris 8 (UP8)-Université Paris 13 (UP13)-Institut Galilée-Centre National de la Recherche Scientifique (CNRS)-Université Paris 8 (UP8)-Université Paris 13 (UP13)-Institut Galilée-Centre National de la Recherche Scientifique (CNRS)
creator Cuvelier, François
date 2013-05-13T00:00:00
harvest_object_id b72dcbd2-2dc4-42cf-82f4-cebf854f9fe3
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2025-10-06T00:00:00
relation info:eu-repo/semantics/altIdentifier/arxiv/1305.3122
set_spec type:REPORT