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
Jul 29, 2021 Version 4.3 released.
Jul 10, 2021 MFEM Community Workshop in October.
Apr 22, 2021 MFEM featured on S&TR magazine cover.
Feb 16, 2021 New page on GPU performance.

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.