# mfem/mfem

Lightweight, general, scalable C++ library for finite element methods

Repository: https://github.com/mfem/mfem
Canonical: https://ross.abutalabs.com/products/mfem
Homepage: http://mfem.org
Language: C++
License: BSD-3-Clause
License Family: permissive
Topics: finite-elements, high-order, high-performance-computing, parallel-computing, amr, computational-science, fem, scientific-computing, hpc, math-physics, radiuss
Last push: 2026-08-26T21:11:19+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 28, longevity 100
- inputs: {"age_days": 4101, "days_push": 7, "days_rel": 265, "gap_med": 245, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2226, forks 644 (observed 2026-08-28T04:06:28.722391+00:00)

## What it is
MFEM is a lightweight, modular C++ library for finite element discretization of PDEs, supporting arbitrary high-order element spaces, adaptive mesh refinement, and MPI/GPU-parallel scalable solvers. It serves as a finite element toolbox for research and application development, scaling from laptops to supercomputers.

## Use cases
- solve partial differential equations with finite elements
- high-order finite element discretization in C++
- adaptive mesh refinement for PDE simulations
- parallel finite element solver for supercomputers
- isogeometric analysis with NURBS
- prototype discontinuous Galerkin methods
- GPU-accelerated finite element computation
- electromagnetics or fluid dynamics simulation code

## When to choose
- you need scalable, high-performance FEM on CPUs, MPI clusters, or GPUs
- you want flexible high-order spaces (H1, H(div), H(curl), L2, NURBS) and many discretization methods
- you need adaptive mesh refinement and a wide range of mesh types in 2D/3D

## When to avoid
- you need a turnkey GUI application rather than a C++ library
- your problem is not suited to finite element discretization (e.g., simple data analysis)
- you need a high-level scripting-only workflow without C++ development

## Facets
- artifact type: library
- maturity: stable
- function: simulation, math, graphics, gpu-computing, concurrency
- domain: simulation, gpu-computing
- platform: cpp, windows, cross-platform
- tags: finite-elements, fem, pde-solver, high-order, amr, hpc, mpi, isogeometric-analysis, scientific-computing, numerical-methods, algorithms, physics, high-performance-computing, linux, macos, gpu

## Member repositories
- mfem/mfem (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:28.722391+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:44:53.573377+00:00, confidence not recorded.
  - readme: https://github.com/mfem/mfem (fetched 2026-08-28T04:06:28.722391+00:00, sha ca4ac5ce102a)
  - homepage: http://mfem.org (fetched 2026-08-29T10:25:26.335722+00:00, sha 98b083db3264)
  - site_page: https://mfem.org/features (fetched 2026-08-29T10:25:26.345062+00:00, sha b139116c9466)
  - site_page: https://mfem.org/getting-started (fetched 2026-08-29T10:25:26.347275+00:00, sha 014b717befe3)
  - site_page: https://mfem.org/about (fetched 2026-08-29T10:25:26.348888+00:00, sha ce626ecfb09b)
  - site_page: https://mfem.org/dox (fetched 2026-08-29T10:25:26.350516+00:00, sha 5a7a5aa70be7)
  - site_page: https://mfem.org/download (fetched 2026-08-29T10:25:26.352090+00:00, sha a6a7a5afeeea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
