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
Apr 22, 2021 MFEM featured on S&TR magazine cover.
Mar 1, 2021 Logo featured throughout LLNL 2020 annual report.
Feb 16, 2021 New page on GPU performance.
Dec 19, 2020 PyMFEM available with pip install mfem.

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.