MFEM logo

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


MFEM is used in many projects, including BLAST, RF-SciDAC, VisIt, Cardioid, xSDK, SciDAC/FASTMath, and the Center for Efficient Exascale Discretizations in the Exascale Computing Project.

See also our Gallery, Publications and News pages.


Date Message
Mar 18, 2021 Postdoc position using MFEM.
Feb 16, 2021 New page on GPU performance.
Dec 19, 2020 PyMFEM available with pip install mfem.
Oct 30, 2020 Version 4.2 released.

Latest Release

New featuresExamplesCode documentationSources

Older releasesPython wrapper


Building MFEMSerial TutorialParallel TutorialGPU tips

Finite ElementsElectromagneticsFluidsMeshingPerformanceTools

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.