Jump to ContentJump to Main Navigation
Show Summary Details
In This Section

Computational Methods in Applied Mathematics

Editor-in-Chief: Carstensen, Carsten

Managing Editor: Matus, Piotr

4 Issues per year

IMPACT FACTOR 2016: 1.097

CiteScore 2016: 1.09

SCImago Journal Rank (SJR) 2015: 0.997
Source Normalized Impact per Paper (SNIP) 2015: 0.683

Mathematical Citation Quotient (MCQ) 2015: 0.68

See all formats and pricing
In This Section
Volume 11, Issue 4 (Jan 2011)


Efficient implementation of adaptive P1-FEM in Matlab

Stefan Funken
  • Institute for Numerical Mathematics, University of Ulm, Helmholtzstraße 18, D-89069 Ulm, Germany.
  • Email:
Dirk Praetorius
  • Institute for Analysis and Scientific Computing, Vienna University of Technology, Wiedner Hauptstraße 8-10, A-1040 Wien, Austria.
  • Email:
Philipp Wissgott
  • Institute for Solid State Physics, Vienna University of Technology, Wiedner Hauptstraße 8-10, A-1040 Wien, Austria.
  • Email:


We provide a MATLAB package p1afem for an adaptive P1-finite element method (AFEM). This includes functions for the assembly of the data, different error estimators, and an indicator-based adaptive meshrefining algorithm. Throughout, the focus is on an efficient realization by use of MATLAB built-in functions and vectorization. Numerical experiments underline the efficiency of the code which is observed to be of almost linear complexity with respect to the runtime. Although the scope of this paper is on AFEM, the general ideas can be understood as a guideline for writing efficient MATLAB code.

Keywords: MATLAB program; finite element method; adaptivity mesh refinement; mesh coarsening

About the article

Received: 2011-09-10

Revised: 2011-11-16

Accepted: 2011-12-21

Published in Print:

Citation Information: Computational Methods in Applied Mathematics Comput. Methods Appl. Math., ISSN (Online) 1609-9389, ISSN (Print) 1609-4840, DOI: https://doi.org/10.2478/cmam-2011-0026. Export Citation

© Institute of Mathematics, NAS of Belarus. This article is distributed under the terms of the Creative Commons Attribution Non-Commercial License, which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited. (CC BY-NC-ND 4.0)

Citing Articles

Here you can find all Crossref-listed publications in which this article is cited. If you would like to receive automatic email messages as soon as this article is cited in other publications, simply activate the “Citation Alert” on the top of this page.

María Emilia Castillo and Pedro Morin
Computers & Mathematics with Applications, 2015
Zhixing Fu, Luis F. Gatica, and Francisco-javier Sayas
ACM Transactions on Mathematical Software, 2015, Volume 41, Number 3, Page 1
Florian Frank, Balthasar Reuter, Vadym Aizinger, and Peter Knabner
Computers & Mathematics with Applications, 2015, Volume 70, Number 1, Page 11
I. Anjam and J. Valdman
Applied Mathematics and Computation, 2015
Carsten Carstensen and Joscha Gedicke
SIAM Journal on Numerical Analysis, 2012, Volume 50, Number 3, Page 1029
Markus Aurada, Michael Ebner, Michael Feischl, Samuel Ferraz-Leite, Thomas Führer, Petra Goldenits, Michael Karkulik, Markus Mayr, and Dirk Praetorius
Numerical Algorithms, 2014, Volume 67, Number 1, Page 1
Carsten Carstensen, Dietmar Gallistl, and Jun Hu
Computers & Mathematics with Applications, 2014, Volume 68, Number 12, Page 2167
L. Exl and T. Schrefl
Journal of Computational Physics, 2014, Volume 270, Page 490
J. Papež, J. Liesen, and Z. Strakoš
Linear Algebra and its Applications, 2014, Volume 449, Page 89
C. Carstensen, M. Feischl, M. Page, and D. Praetorius
Computers & Mathematics with Applications, 2014, Volume 67, Number 6, Page 1195
George Kourakos and Thomas Harter
Environmental Modelling & Software, 2014, Volume 52, Page 207
Thomas Apel, Thomas G. Flaig, and Serge Nicaise
Numerical Functional Analysis and Optimization, 2014, Volume 35, Number 2, Page 153

Comments (0)

Please log in or register to comment.
Log in