2D Fast Vectorized Finite Element Method

Fast vectorized assembly of 2D finite element matrices and load vector using linear basis functions and triangular mesh.

https://github.com/kaskaj/MatlabFEM

You are now following this Submission

A simple algorithm for vectorized assembly of matrices for 2D finite element methods using linear basis functions and triangular mesh. The algorithm is able to work with Dirichlet, Neumann and general Robin boundary conditions. A simple code for testing the algorithm is attached. The code is programmed for the Poisson's equation:
The entire code is commented for easier orientation and editing. I will be glad for any feedback and possible improvements to the algorithm.

Cite As

Jan Kaska (2026). 2D Fast Vectorized Finite Element Method (https://github.com/kaskaj/MatlabFEM/releases/tag/1.1), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1

See release notes for this release on GitHub: https://github.com/kaskaj/MatlabFEM/releases/tag/1.1

1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.