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

Features

MFEM is used in many projects, including BLAST, Cardioid, Palace, VisIt, RF-SciDAC, FASTMath, xSDK, and CEED in the Exascale Computing Project.

We host an annual workshop and FEM@LLNL seminar series series.

See also our Gallery, Publications, Videos and News pages.

News

Date Message
Sep 18, 2025 PyMFEM version 4.8 released
Sep 10, 2025 2025 MFEM community workshop.
Sep 9, 2025 MFEM in the cloud tutorial as part of the HPCIC Tutorial series.
Apr 15, 2025 MOOSE incorporates MFEM as a backend.
Apr 9, 2025 Version 4.8 released.
May 2, 2024 New MFEM paper in IJHPCA.

Latest Release

New features ┊ Examples ┊ Code documentation ┊ Sources

Older releases ┊ Python wrapper ┊ Launch Colab

Documentation

Building MFEM ┊ Getting Started ┊ Finite Elements ┊ Performance

New users should start by examining the example codes.

We also recommend using GLVis for visualization.

Contact

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