Lightweight, general, scalable C++ library for finite element methods
Switch branches/tags
Clone or download
tzanio Merge pull request #582 from mfem/elasticity-flux
Add ComputeElementFlux method to ElasticityIntegrator [elasticity-flux]
Latest commit 4cb8d2c Nov 14, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Merge pull request #508 from cwsmith/cwsmith/ Nov 5, 2018
data Added VTK versions of some mixed and wedge meshes Oct 11, 2018
doc Mentioned in doc/CodeDocumentation.dox Nov 9, 2018
examples Added mesh rebalancing in ex22p. Nov 9, 2018
fem Merge branch 'master' into elasticity-flux Nov 14, 2018
general Improved uniform refinement of tetrahedral meshes Sep 28, 2018
linalg Merge pull request #660 from mfem/laghos-amr-dev Nov 14, 2018
mesh Apply 'make style' Oct 30, 2018
miniapps Merge pull request #508 from cwsmith/cwsmith/ Nov 5, 2018
.appveyor.yml Switching to version 3.3.2 in a few more files. Nov 3, 2017
.gitignore Added parallel version of example 22. Nov 8, 2018
.travis.yml In .travis.yml, pass MFEM_PERF_SW through the environment. Sep 25, 2017
CHANGELOG Merge branch 'master' into elasticity-flux Nov 14, 2018
CMakeLists.txt Merge pull request #508 from cwsmith/cwsmith/ Nov 5, 2018 Minor editing Oct 11, 2018
COPYRIGHT Version 3.1 Feb 16, 2016
INSTALL Merge branch 'master' into docs-dev May 29, 2018
LICENSE Removing whitespace differences with the LGPL-2.1 LICENSE file, so Gi… Oct 26, 2018
README Minor May 25, 2018
makefile Merge pull request #508 from cwsmith/cwsmith/ Nov 5, 2018
mfem-performance.hpp Version 3.3 Jan 29, 2017
mfem.hpp Merged general/globalcomm.[ch]pp and general/globalostream.[ch]pp into Sep 29, 2017


                    Finite Element Discretization Library
                       _ __ ___   / _|  ___  _ __ ___
                      | '_ ` _ \ | |_  / _ \| '_ ` _ \
                      | | | | | ||  _||  __/| | | | | |
                      |_| |_| |_||_|   \___||_| |_| |_|


MFEM is a modular parallel C++ library for finite element methods. Its goal is
to enable the research and development of scalable finite element discretization
and solver algorithms through general finite element abstractions, accurate and
flexible visualization, and tight integration with the hypre library.

* For building instructions, see the file INSTALL, or type "make help".

* Copyright and licensing information can be found in the file COPYRIGHT.

* The best starting point for new users interested in MFEM's features is the
  interactive documentation in examples/README.html.

* Developers interested in contributing to the library, should read the
  instructions and documentation in the file.

Conceptually, MFEM can be viewed as a finite element toolbox that provides the
building blocks for developing finite element algorithms in a manner similar to
that of MATLAB for linear algebra methods. In particular, MFEM provides support
for arbitrary high-order H1-conforming, discontinuous (L2), H(div)-conforming,
H(curl)-conforming and NURBS finite element spaces in 2D and 3D, as well as many
bilinear, linear and nonlinear forms defined on them. It enables the quick
prototyping of various finite element discretizations, including Galerkin
methods, mixed finite elements, Discontinuous Galerkin (DG), isogeometric
analysis, hybridization and Discontinuous Petrov-Galerkin (DPG) approaches.

MFEM includes classes for dealing with a wide range of mesh types: triangular,
quadrilateral, tetrahedral and hexahedral, as well as surface and topologically
periodical meshes. It has general support for mesh refinement, including local
conforming and non-conforming (AMR) adaptive refinement. Arbitrary element
transformations, allowing for high-order mesh elements with curved boundaries,
are also supported.

MFEM is commonly used as a "finite element to linear algebra translator", since
it can take a problem described in terms of finite element-type objects, and
produce the corresponding linear algebra vectors and sparse matrices. In order
to facilitate this, MFEM uses compressed sparse row (CSR) sparse matrix storage
and includes simple smoothers and Krylov solvers, such as PCG, MINRES and GMRES,
as well as support for sequential sparse direct solvers from the SuiteSparse
library. Nonlinear solvers (the Newton method), eigensolvers (LOBPCG), and
several explicit and implicit Runge-Kutta time integrators are also available.

MFEM supports MPI-based parallelism throughout the library, and can readily be
used as a scalable unstructured finite element problem generator. MFEM-based
applications require minimal changes to transition from a serial to a
high-performing parallel version of the code, where they can take advantage of
the integrated scalable linear solvers from the hypre library. Comprehensive
support for other external packages, e.g. PETSc and SUNDIALS is also included,
giving access to many additional linear and nonlinear solvers, preconditioners,
time integrators, etc.

For examples of using MFEM, see the examples/ and miniapps/ directories, as well
as the OpenGL visualization tool GLVis which is available at

This project is released under the LGPL v2.1 license with static linking
exception. See files COPYRIGHT and LICENSE file for full details.

LLNL Release Number: LLNL-CODE-443211
DOI: 10.11578/dc.20171025.1248