MFEM logo

MFEM is a free, lightweight, scalable C++ library for finite element methods.


MFEM is used in many projects, including BLAST, XBraid, VisIt, the xSDK, the FASTMath institute in SciDAC, and the co-design Center for Efficient Exascale Discretizations (CEED) in the Exascale Computing Project.

See also our Gallery, related publications and project news updates.


Date Message
May 24, 2019 Version 4.0 released with initial GPU support.
May 10, 2019 AMR and TMOP papers available on arXiv.
Nov 9, 2018 MFEM part of the E4S project.
May 29, 2018 Version 3.4 released.

Latest Release

New featuresExamplesCode documentationSources

For older releases see the download section.


Building MFEMSerial TutorialParallel TutorialCode Overview

Finite Element MethodElectromagneticsMeshing

New users should start by examining the example codes.

We also recommend using GLVis for visualization.


Use the GitHub issue tracker to report bugs or post questions or comments. See the About page for citation information.