File Exchange

image thumbnail

Fast FEM assembly: edge elements

version 1.2.0.0 (80.4 KB) by Jan Valdman
Vectorized assembly of FEM matrices.

11 Downloads

Updated 03 Aug 2018

View License

This code demonstrates vectorization concepts from the the paper

Immanuel Anjam, Jan Valdman: Fast MATLAB assembly of FEM matrices in 2D and 3D: Edge elements. Applied Mathematics and Computation 267, 252–263 (2015)

We extended techniques from the paper

Talal Rahman and Jan Valdman: Fast MATLAB assembly of FEM matrices in 2D and 3D: nodal elements, Applied Mathematics and Computation 219, 7151–7158 (2013)

to a fast assembly of FEM matrices using edge elements - Raviart-Thomas elements for Hdiv problems and Nedelec elements for Hcurl problems. In addition, vectorized higher order quadratures were added.

A link to the paper can be found at the author web page located at http://sites.google.com/site/janvaldman/publications
Please cite the paper if you find the code useful.

To compare the assembly times, call
"start_2D" or "start_3D" in the "example_comparison" directory.

You can also call
"start_2D" or "start_3D" in "example_majorant" and "example_eddycurrect" directories
to obtain solution of the functional majorant minimization in Hdiv space and a solution of a eddy current problem in Hcurl space.

Comments and Ratings (5)

Updates

1.2.0.0

Title a summary updated.

1.1.0.0

New feature added: piecewise constant coefficients in FEM matrices.

1.1.0.0

New feature added: piecewise constant coefficients in FEM matrices.

1.1.0.0

New feature added: piecewise constant coefficients in FEM matrices.

1.1.0.0

New feature added: piecewise constant coefficients in FEM matrices.

1.1.0.0

New code version, description updated with a link to arxiv version of the explaining paper.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

software/debug

software/example_comparison

software/example_eddycurrent

software/example_eddycurrent/test2D_1

software/example_eddycurrent/test2D_2

software/example_eddycurrent/test2D_3

software/example_eddycurrent/test3D_1

software/example_eddycurrent/test3D_2

software/example_majorant

software/example_majorant/test2D

software/example_majorant/test3D

software/path

software/path/library_fem

software/path/library_integration

software/path/library_vectorization