MFEM  v3.4
Finite element discretization library
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mfem Namespace Reference

Namespaces

 bin_io
 
 electromagnetics
 
 miniapps
 
 superlu
 
 superlu_internal
 

Classes

class  AbstractErrorEstimator
 Base class for all error estimators. More...
 
class  AbstractSparseMatrix
 Abstract data type for sparse matrices. More...
 
class  AnisotropicErrorEstimator
 The AnisotropicErrorEstimator class is the base class for all error estimators that compute one non-negative real (double) number and an anisotropic flag for every element in the Mesh. More...
 
class  ARKODESolver
 Wrapper for SUNDIALS' ARKODE library – Runge-Kutta time integration. More...
 
class  Array
 
class  Array2D
 Dynamic 2D array using row-major layout. More...
 
class  Array3D
 
struct  AssignOp
 
class  BackwardEulerSolver
 Backward Euler ODE solver. L-stable. More...
 
class  BaseArray
 Base class for array container. More...
 
class  BasisType
 Possible basis types. Note that not all elements can use all BasisType(s). More...
 
class  BiCGSTABSolver
 BiCGSTAB method. More...
 
class  BiCubic2DFiniteElement
 
class  BiLinear2DFiniteElement
 Class for bilinear FE on quadrilateral. More...
 
class  BilinearForm
 
class  BilinearFormIntegrator
 Abstract base class BilinearFormIntegrator. More...
 
class  BiQuad2DFiniteElement
 Class for bi-quadratic FE on quadrilateral. More...
 
class  BiQuadPos2DFiniteElement
 
class  BlockArray
 
class  BlockDiagonalPreconditioner
 A class to handle Block diagonal preconditioners in a matrix-free implementation. More...
 
class  BlockLowerTriangularPreconditioner
 A class to handle Block lower triangular preconditioners in a matrix-free implementation. More...
 
class  BlockMatrix
 
class  BlockNonlinearForm
 A class representing a general block nonlinear operator defined on the Cartesian product of multiple FiniteElementSpaces. More...
 
class  BlockNonlinearFormIntegrator
 
class  BlockOperator
 A class to handle Block systems in a matrix-free implementation. More...
 
class  BlockVector
 
class  BoundaryFlowIntegrator
 
class  BoundaryLFIntegrator
 Class for boundary integration L(v) := (g, v) More...
 
class  BoundaryMassIntegrator
 
class  BoundaryNormalLFIntegrator
 Class for boundary integration \( L(v) = (g \cdot n, v) \). More...
 
class  BoundaryTangentialLFIntegrator
 Class for boundary integration \( L(v) = (g \cdot \tau, v) \) in 2D. More...
 
class  CGSolver
 Conjugate gradient method. More...
 
struct  CoarseFineTransformations
 Defines the coarse-fine transformations of all fine elements. More...
 
class  Coefficient
 Base class Coefficient that may optionally depend on time. More...
 
struct  ColumnMajorLayout2D
 
struct  ColumnMajorLayout3D
 
struct  ColumnMajorLayout4D
 
class  ComplexOperator
 Mimic the action of a complex operator using two real operators. More...
 
class  ComplexSparseMatrix
 Specialization of the ComplexOperator built from a pair of Sparse Matrices. More...
 
class  ConduitDataCollection
 Data collection that uses the Conduit Mesh Blueprint specification. More...
 
class  ConformingProlongationOperator
 Auxiliary class used by ParFiniteElementSpace. More...
 
struct  Connection
 Helper struct for defining a connectivity table, see Table::MakeFromList. More...
 
class  Const2DFECollection
 
class  Const3DFECollection
 
class  ConstantCoefficient
 Subclass constant coefficient. More...
 
class  ConstrainedOperator
 Square Operator for imposing essential boundary conditions using only the action, Mult(), of a given unconstrained Operator. More...
 
class  ConvectionIntegrator
 alpha (q . grad u, v) More...
 
class  CrouzeixRaviartFECollection
 Crouzeix-Raviart nonconforming elements in 2D. More...
 
class  CrouzeixRaviartFiniteElement
 Crouzeix-Raviart finite element on triangle. More...
 
class  CrouzeixRaviartQuadFiniteElement
 Crouzeix-Raviart finite element on quadrilateral. More...
 
class  Cubic1DFiniteElement
 
class  Cubic2DFiniteElement
 
class  Cubic3DFiniteElement
 Class for cubic FE on tetrahedron. More...
 
class  CubicDiscont2DFECollection
 
class  CubicFECollection
 Piecewise-(bi)cubic continuous finite elements. More...
 
class  CurlCurlIntegrator
 Integrator for (curl u, curl v) for Nedelec elements. More...
 
class  CurlInterpolator
 
class  CVODESolver
 Wrapper for SUNDIALS' CVODE library – Multi-step time integration. More...
 
class  DataCollection
 
class  DeltaCoefficient
 Delta function coefficient. More...
 
class  DeltaLFIntegrator
 Abstract class for integrators that support delta coefficients. More...
 
class  DenseMatrix
 Data type dense matrix using column-major storage. More...
 
class  DenseMatrixEigensystem
 
class  DenseMatrixInverse
 
class  DenseMatrixSVD
 
class  DenseTensor
 Rank 3 tensor (array of matrices) More...
 
class  DerivativeIntegrator
 Class for integrating (Q D_i(u), v); u and v are scalars. More...
 
class  DG_Interface_FECollection
 
class  DGDiffusionIntegrator
 
class  DGDirichletLFIntegrator
 
class  DGElasticityDirichletLFIntegrator
 
class  DGElasticityIntegrator
 
class  DGIndexer
 
class  DGTraceIntegrator
 
class  DiffusionIntegrator
 
class  DiscreteInterpolator
 
class  DiscreteLinearOperator
 
class  DivDivIntegrator
 (Q div u, div v) for RT elements More...
 
class  DivergenceInterpolator
 
class  DomainLFIntegrator
 Class for domain integration L(v) := (f, v) More...
 
class  DSmoother
 Data type for scaled Jacobi-type smoother of sparse matrix. More...
 
class  DSTable
 
class  DynamicVectorLayout
 
class  ElasticityIntegrator
 
class  Element
 Abstract data type element. More...
 
class  ElementDofIndexer
 
class  ElementTransformation
 
struct  Embedding
 Defines the position of a fine element within a coarse element. More...
 
class  ErrorEstimator
 Base class for all element based error estimators. More...
 
class  ErrorException
 Exception class thrown when MFEM encounters an error and the current ErrorAction is set to MFEM_ERROR_THROW. More...
 
class  ExplicitRKSolver
 
class  ExtrudeCoefficient
 Class used for extruding scalar GridFunctions. More...
 
class  FaceElementTransformations
 
class  FGMRESSolver
 FGMRES method. More...
 
class  FieldEvaluator
 
class  FieldEvaluator_base
 
class  FiniteElement
 Abstract class for Finite Elements. More...
 
class  FiniteElementCollection
 
class  FiniteElementSpace
 Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of degrees of freedom. More...
 
class  ForwardEulerSolver
 The classical forward Euler method. More...
 
class  FunctionCoefficient
 class for C-function coefficient More...
 
class  FunctionSpace
 Describes the space on each element. More...
 
class  GaussBiLinear2DFiniteElement
 Class for bilinear FE on quad with nodes at the 4 Gaussian points. More...
 
class  GaussBiQuad2DFiniteElement
 Bi-quadratic element on quad with nodes at the 9 Gaussian points. More...
 
class  GaussIntegrationRule
 
class  GaussLinear2DFiniteElement
 Class for linear FE on triangle with nodes at the 3 "Gaussian" points. More...
 
class  GaussLinearDiscont2DFECollection
 Version of LinearDiscont2DFECollection with dofs in the Gaussian points. More...
 
class  GaussQuad2DFiniteElement
 Class for quadratic FE on triangle with nodes at the "Gaussian" points. More...
 
class  GaussQuadraticDiscont2DFECollection
 Version of QuadraticDiscont2DFECollection with dofs in the Gaussian points. More...
 
class  GeneralizedAlphaSolver
 
class  GenericIntegrationRule
 
class  Geometry
 
class  GeometryRefiner
 
class  GMRESSolver
 GMRES method. More...
 
class  GnuTLS_global_state
 
class  GnuTLS_session_params
 
class  GnuTLS_socketbuf
 
class  GnuTLS_status
 
class  GradientInterpolator
 
class  GridFunction
 Class for grid function - Vector with associated FE space. More...
 
class  GridFunctionCoefficient
 Coefficient defined by a GridFunction. This coefficient is mesh dependent. More...
 
class  GridFunctionPumi
 Class for PUMI grid functions. More...
 
class  GroupCommunicator
 Communicator performing operations within groups defined by a GroupTopology with arbitrary-size data associated with each group. More...
 
class  GroupConvectionIntegrator
 alpha (q . grad u, v) using the "group" FE discretization More...
 
class  GroupTopology
 
class  GSSmoother
 Data type for Gauss-Seidel smoother of sparse matrix. More...
 
class  gzstreambase
 
class  gzstreambuf
 
class  H1_FECollection
 Arbitrary order H1-conforming (continuous) finite elements. More...
 
class  H1_FiniteElement
 
class  H1_FiniteElement< Geometry::CUBE, P >
 
class  H1_FiniteElement< Geometry::SEGMENT, P >
 
class  H1_FiniteElement< Geometry::SQUARE, P >
 
class  H1_FiniteElement< Geometry::TETRAHEDRON, P >
 
class  H1_FiniteElement< Geometry::TRIANGLE, P >
 
class  H1_FiniteElementSpace
 
class  H1_HexahedronElement
 
class  H1_QuadrilateralElement
 
class  H1_SegmentElement
 
class  H1_TetrahedronElement
 
class  H1_Trace_FECollection
 
class  H1_TriangleElement
 
class  H1Pos_FECollection
 
class  H1Pos_HexahedronElement
 
class  H1Pos_QuadrilateralElement
 
class  H1Pos_SegmentElement
 
class  H1Pos_TetrahedronElement
 
class  H1Pos_TriangleElement
 
struct  Hashed2
 
struct  Hashed4
 
class  HashTable
 
class  Hexahedron
 Data type hexahedron element. More...
 
class  Hybridization
 
class  HyperelasticModel
 Abstract class for hyperelastic models. More...
 
class  HyperelasticNLFIntegrator
 
class  HypreADS
 The Auxiliary-space Divergence Solver in hypre. More...
 
class  HypreAME
 
class  HypreAMS
 The Auxiliary-space Maxwell Solver in hypre. More...
 
class  HypreBoomerAMG
 The BoomerAMG solver in hypre. More...
 
class  HypreDiagScale
 Jacobi preconditioner in hypre. More...
 
class  HypreGMRES
 GMRES solver in hypre. More...
 
class  HypreIdentity
 The identity operator as a hypre solver. More...
 
class  HypreLOBPCG
 
class  HypreParaSails
 The ParaSails preconditioner in hypre. More...
 
class  HypreParMatrix
 Wrapper for hypre's ParCSR matrix class. More...
 
class  HypreParVector
 Wrapper for hypre's parallel vector class. More...
 
class  HyprePCG
 PCG solver in hypre. More...
 
class  HypreSmoother
 Parallel smoothers in hypre. More...
 
class  HypreSolver
 Abstract class for hypre's solvers and preconditioners. More...
 
class  IdentityInterpolator
 
class  IdentityOperator
 Identity Operator I: x -> x. More...
 
class  ifgzstream
 
class  igzstream
 
class  ImplicitMidpointSolver
 Implicit midpoint method. A-stable, not L-stable. More...
 
class  IncompressibleNeoHookeanIntegrator
 
class  IntegerSet
 A set of integers. More...
 
class  IntegrationPoint
 Class for integration point with weight. More...
 
class  IntegrationPointTransformation
 
class  IntegrationRule
 Class for an integration rule - an Array of IntegrationPoint. More...
 
class  IntegrationRules
 Container class for integration rules. More...
 
struct  IntRuleCoefficient
 
class  InvariantsEvaluator2D
 Auxiliary class for evaluating the 2x2 matrix invariants and their first and second derivatives. More...
 
class  InvariantsEvaluator3D
 Auxiliary class for evaluating the 3x3 matrix invariants and their first and second derivatives. More...
 
class  InverseElementTransformation
 The inverse transformation of a given ElementTransformation. More...
 
class  InverseHarmonicModel
 
class  InverseIntegrator
 Integrator that inverts the matrix assembled by another integrator. More...
 
class  isockstream
 
class  IsoparametricTransformation
 
class  IterativeSolver
 Abstract base class for iterative solver. More...
 
class  KinSolver
 Wrapper for SUNDIALS' KINSOL library – Nonlinear solvers. More...
 
class  KLUSolver
 Direct sparse solver using KLU. More...
 
class  KnotVector
 
class  L2_FECollection
 Arbitrary order "L2-conforming" discontinuous finite elements. More...
 
class  L2_FiniteElement
 
class  L2_FiniteElement< Geometry::CUBE, P >
 
class  L2_FiniteElement< Geometry::SEGMENT, P >
 
class  L2_FiniteElement< Geometry::SQUARE, P >
 
class  L2_FiniteElement< Geometry::TETRAHEDRON, P >
 
class  L2_FiniteElement< Geometry::TRIANGLE, P >
 
class  L2_FiniteElement_base
 
class  L2_FiniteElementSpace
 
class  L2_HexahedronElement
 
class  L2_QuadrilateralElement
 
class  L2_SegmentElement
 
class  L2_TetrahedronElement
 
class  L2_TriangleElement
 
class  L2Pos_HexahedronElement
 
class  L2Pos_QuadrilateralElement
 
class  L2Pos_SegmentElement
 
class  L2Pos_TetrahedronElement
 
class  L2Pos_TriangleElement
 
class  L2ZienkiewiczZhuEstimator
 The L2ZienkiewiczZhuEstimator class implements the Zienkiewicz-Zhu error estimation procedure where the flux averaging is replaced by a global L2 projection (requiring a mass matrix solve). More...
 
class  Lagrange1DFiniteElement
 
class  LagrangeHexFiniteElement
 Tensor products of 1D FEs (only degree 2 is functional) More...
 
class  Linear1DFiniteElement
 Class for linear FE on interval. More...
 
class  Linear2DFiniteElement
 Class for linear FE on triangle. More...
 
class  Linear3DFiniteElement
 Class for linear FE on tetrahedron. More...
 
class  LinearDiscont2DFECollection
 
class  LinearDiscont3DFECollection
 
class  LinearFECollection
 Piecewise-(bi)linear continuous finite elements. More...
 
class  LinearForm
 Class for linear form - Vector with associated FE space and LFIntegrators. More...
 
class  LinearFormIntegrator
 Abstract base class LinearFormIntegrator. More...
 
class  LinearNonConf3DFECollection
 Piecewise-linear nonconforming finite elements in 3D. More...
 
class  ListOfIntegerSets
 List of integer sets. More...
 
class  Local_FECollection
 Discontinuous collection defined locally by a given finite element. More...
 
class  LUFactors
 
class  LumpedIntegrator
 
class  MassIntegrator
 
class  Matrix
 Abstract data type matrix. More...
 
class  MatrixArrayCoefficient
 
class  MatrixCoefficient
 
class  MatrixConstantCoefficient
 
class  MatrixFunctionCoefficient
 
class  MatrixInverse
 Abstract data type for matrix inverse. More...
 
class  MatrixRestrictedCoefficient
 MatrixCoefficient defined on a subset of domain or boundary attributes. More...
 
class  MemAlloc
 
class  MemAllocNode
 
class  Mesh
 
class  MeshOperator
 The MeshOperator class serves as base for mesh manipulation classes. More...
 
class  MeshOperatorSequence
 
class  MesquiteMesh
 
class  MINRESSolver
 MINRES method. More...
 
class  MixedBilinearForm
 
class  MixedCrossCurlCurlIntegrator
 
class  MixedCrossCurlGradIntegrator
 
class  MixedCrossCurlIntegrator
 
class  MixedCrossGradCurlIntegrator
 
class  MixedCrossGradGradIntegrator
 
class  MixedCrossGradIntegrator
 
class  MixedCrossProductIntegrator
 
class  MixedCurlCurlIntegrator
 
class  MixedDirectionalDerivativeIntegrator
 
class  MixedDivGradIntegrator
 
class  MixedDotProductIntegrator
 
class  MixedGradDivIntegrator
 
class  MixedGradGradIntegrator
 
class  MixedScalarCrossCurlIntegrator
 
class  MixedScalarCrossGradIntegrator
 
class  MixedScalarCrossProductIntegrator
 
class  MixedScalarCurlIntegrator
 
class  MixedScalarDerivativeIntegrator
 
class  MixedScalarDivergenceIntegrator
 
class  MixedScalarIntegrator
 
class  MixedScalarMassIntegrator
 
class  MixedScalarVectorIntegrator
 
class  MixedScalarWeakCrossProductIntegrator
 
class  MixedScalarWeakCurlCrossIntegrator
 
class  MixedScalarWeakCurlIntegrator
 
class  MixedScalarWeakDerivativeIntegrator
 
class  MixedScalarWeakDivergenceIntegrator
 
class  MixedScalarWeakGradientIntegrator
 
class  MixedVectorCurlIntegrator
 
class  MixedVectorDivergenceIntegrator
 
class  MixedVectorGradientIntegrator
 
class  MixedVectorIntegrator
 
class  MixedVectorMassIntegrator
 
class  MixedVectorProductIntegrator
 
class  MixedVectorWeakCurlIntegrator
 
class  MixedVectorWeakDivergenceIntegrator
 
class  MixedWeakCurlCrossIntegrator
 
class  MixedWeakDivCrossIntegrator
 
class  MixedWeakGradDotIntegrator
 
class  MPI_Session
 A simple convenience class that calls MPI_Init() at construction and MPI_Finalize() at destruction. It also provides easy access to MPI_COMM_WORLD's rank and size. More...
 
struct  MPITypeMap
 Helper struct to convert a C++ type to an MPI type. More...
 
struct  MPITypeMap< double >
 
struct  MPITypeMap< int >
 
class  named_ifgzstream
 
class  NamedFieldsMap
 Lightweight adaptor over an std::map from strings to pointer to T. More...
 
class  NCMesh
 A class for non-conforming AMR on higher-order hexahedral, quadrilateral or triangular meshes. More...
 
class  ND1_3DFECollection
 
class  ND_FECollection
 Arbitrary order H(curl)-conforming Nedelec finite elements. More...
 
class  ND_HexahedronElement
 
class  ND_QuadrilateralElement
 
class  ND_SegmentElement
 
class  ND_TetrahedronElement
 
class  ND_Trace_FECollection
 
class  ND_TriangleElement
 
class  Nedelec1HexFiniteElement
 
class  Nedelec1TetFiniteElement
 
class  NeoHookeanModel
 
class  NewtonSolver
 Newton's method for solving F(x)=b for a given operator F. More...
 
class  NodalFiniteElement
 
class  NodalTensorFiniteElement
 
class  NodeExtrudeCoefficient
 Class used to extrude the nodes of a mesh. More...
 
class  NonlinearForm
 
class  NonlinearFormIntegrator
 
class  NormalInterpolator
 
class  NormalTraceJumpIntegrator
 
class  NURBS1DFiniteElement
 
class  NURBS2DFiniteElement
 
class  NURBS3DFiniteElement
 
class  NURBSExtension
 
class  NURBSFECollection
 Arbitrary order non-uniform rational B-splines (NURBS) finite elements. More...
 
class  NURBSFiniteElement
 
class  NURBSPatch
 
class  NURBSPatchMap
 
class  ODESolver
 Abstract class for solving systems of ODEs: dx/dt = f(x,t) More...
 
struct  OffsetStridedLayout1D
 
struct  OffsetStridedLayout2D
 
struct  OffsetStridedLayout3D
 
struct  OffsetStridedLayout4D
 
class  ofgzstream
 
class  ogzstream
 
class  Operator
 Abstract operator. More...
 
class  OperatorHandle
 Pointer to an Operator of a specified type. More...
 
class  OptionsParser
 
class  Ordering
 The ordering method used when the number of unknowns per mesh node (vector dimension) is bigger than 1. More...
 
class  osockstream
 
class  OutStream
 Simple extension of std::ostream. More...
 
class  P0HexFiniteElement
 
class  P0QuadFiniteElement
 
class  P0SegmentFiniteElement
 
class  P0TetFiniteElement
 
class  P0TriangleFiniteElement
 Class for constant FE on triangle. More...
 
class  P1OnQuadFECollection
 Linear (P1) finite elements on quadrilaterals. More...
 
class  P1OnQuadFiniteElement
 
class  P1SegmentFiniteElement
 Linear 1D element with nodes 1/3 and 2/3 (trace of RT1) More...
 
class  P1TetNonConfFiniteElement
 
class  P2SegmentFiniteElement
 Quadratic 1D element with nodes the Gaussian points in [0,1] (trace of RT2) More...
 
class  Pair
 A pair of objects. More...
 
class  ParBilinearForm
 Class for parallel bilinear form. More...
 
class  ParBlockNonlinearForm
 A class representing a general parallel block nonlinear operator defined on the Cartesian product of multiple ParFiniteElementSpaces. More...
 
class  ParDiscreteLinearOperator
 
class  ParFiniteElementSpace
 Abstract parallel finite element space. More...
 
class  ParGridFunction
 Class for parallel grid function. More...
 
class  ParLinearForm
 Class for parallel linear form. More...
 
class  ParMesh
 Class for parallel meshes. More...
 
class  ParMixedBilinearForm
 Class for parallel bilinear form using different test and trial FE spaces. More...
 
class  ParNCMesh
 A parallel extension of the NCMesh class. More...
 
class  ParNonlinearForm
 Parallel non-linear operator on the true dofs. More...
 
class  ParNURBSExtension
 
class  ParPumiMesh
 Class for PUMI parallel meshes. More...
 
class  PetscBCHandler
 Helper class for handling essential boundary conditions. More...
 
class  PetscBDDCSolver
 
class  PetscBDDCSolverParams
 Auxiliary class for BDDC customization. More...
 
class  PetscFieldSplitSolver
 
class  PetscLinearSolver
 Abstract class for PETSc's linear solvers. More...
 
class  PetscNonlinearSolver
 Abstract class for PETSc's nonlinear solvers. More...
 
class  PetscODESolver
 Abstract class for PETSc's ODE solvers. More...
 
class  PetscParMatrix
 Wrapper for PETSc's matrix class. More...
 
class  PetscParVector
 Wrapper for PETSc's vector class. More...
 
class  PetscPCGSolver
 
class  PetscPreconditioner
 Abstract class for PETSc's preconditioners. More...
 
class  PetscPreconditionerFactory
 
class  PetscSolver
 Abstract class for PETSc's solvers. More...
 
class  PetscSolverMonitor
 Abstract class for monitoring PETSc's solvers. More...
 
class  Point
 Data type point element. More...
 
class  PointFiniteElement
 
class  Poly_1D
 
class  PositiveFiniteElement
 
class  PositiveTensorFiniteElement
 
class  ProductOperator
 General product operator: x -> (A*B)(x) = A(B(x)). More...
 
class  PumiMesh
 Base class for PUMI meshes. More...
 
class  PWConstCoefficient
 class for piecewise constant coefficient More...
 
class  Quad1DFiniteElement
 Class for quadratic FE on interval. More...
 
class  Quad2DFiniteElement
 Class for quadratic FE on triangle. More...
 
class  QuadPos1DFiniteElement
 
class  Quadratic3DFiniteElement
 Class for quadratic FE on tetrahedron. More...
 
class  QuadraticDiscont2DFECollection
 
class  QuadraticDiscont3DFECollection
 
class  QuadraticFECollection
 Piecewise-(bi)quadratic continuous finite elements. More...
 
class  QuadraticPosDiscont2DFECollection
 Version of QuadraticDiscont2DFECollection with positive basis functions. More...
 
class  QuadraticPosFECollection
 Version of QuadraticFECollection with positive basis functions. More...
 
class  Quadrature1D
 A class container for 1D quadrature type constants. More...
 
class  QuadratureFunction
 Class representing a function through its values (scalar or vector) at quadrature points. More...
 
class  QuadratureFunctions1D
 A Class that defines 1-D numerical quadrature rules on [0,1]. More...
 
class  QuadratureSpace
 Class representing the storage layout of a QuadratureFunction. More...
 
class  Quadrilateral
 Data type quadrilateral element. More...
 
class  RAPOperator
 The operator x -> R*A*P*x constructed through the actions of R^T, A and P. More...
 
class  Rebalancer
 ParMesh rebalancing operator. More...
 
class  RefinedBiLinear2DFiniteElement
 Class for refined bi-linear FE on quadrilateral. More...
 
class  RefinedGeometry
 
class  RefinedLinear1DFiniteElement
 Class for refined linear FE on interval. More...
 
class  RefinedLinear2DFiniteElement
 Class for refined linear FE on triangle. More...
 
class  RefinedLinear3DFiniteElement
 Class for refined linear FE on tetrahedron. More...
 
class  RefinedLinearFECollection
 Finite element collection on a macro-element. More...
 
class  RefinedTriLinear3DFiniteElement
 Class for refined trilinear FE on a hexahedron. More...
 
struct  Refinement
 
class  RestrictedCoefficient
 Coefficient defined on a subset of domain or boundary attributes. More...
 
class  RK2Solver
 
class  RK3SSPSolver
 Third-order, strong stability preserving (SSP) Runge-Kutta method. More...
 
class  RK4Solver
 The classical explicit forth-order Runge-Kutta method, RK4. More...
 
class  RK6Solver
 
class  RK8Solver
 
class  RotTriLinearHexFiniteElement
 
class  RT0_2DFECollection
 
class  RT0_3DFECollection
 
class  RT0HexFiniteElement
 
class  RT0QuadFiniteElement
 
class  RT0TetFiniteElement
 
class  RT0TriangleFiniteElement
 
class  RT1_2DFECollection
 
class  RT1_3DFECollection
 
class  RT1HexFiniteElement
 
class  RT1QuadFiniteElement
 
class  RT1TriangleFiniteElement
 
class  RT2_2DFECollection
 
class  RT2QuadFiniteElement
 
class  RT2TriangleFiniteElement
 
class  RT_FECollection
 Arbitrary order H(div)-conforming Raviart-Thomas finite elements. More...
 
class  RT_HexahedronElement
 
class  RT_QuadrilateralElement
 
class  RT_TetrahedronElement
 
class  RT_Trace_FECollection
 
class  RT_TriangleElement
 
class  ScalarFiniteElement
 
class  ScalarLayout
 
struct  ScalarOps
 Auxiliary class used as the default for the second template parameter in the classes InvariantsEvaluator2D and InvariantsEvaluator3D. More...
 
class  ScalarProductInterpolator
 
class  ScalarVectorProductInterpolator
 
class  SDIRK23Solver
 
class  SDIRK33Solver
 
class  SDIRK34Solver
 
class  Segment
 Data type line segment element. More...
 
class  ShapeEvaluator
 
class  ShapeEvaluator_base
 
class  ShapeEvaluator_base< FE, IR, false, real_t >
 
class  ShapeEvaluator_base< FE, IR, true, real_t >
 
class  SIA1Solver
 
class  SIA2Solver
 
class  SIASolver
 
class  SIAVSolver
 
class  SidreDataCollection
 Data collection with Sidre routines following the Conduit mesh blueprint specification. More...
 
class  SLBQPOptimizer
 
class  SLISolver
 Stationary linear iteration: x <- x + B (b - A x) More...
 
class  socketbuf
 
class  socketserver
 
class  socketstream
 
class  Solver
 Base class for solvers. More...
 
class  SparseMatrix
 Data type sparse matrix. More...
 
class  SparseSmoother
 
class  STable
 
class  STable3D
 Symmetric 3D Table. More...
 
class  STable3DNode
 
class  Stack
 
class  StackPart
 
class  StaticCondensation
 
class  StopWatch
 Timing object. More...
 
struct  StridedLayout1D
 
struct  StridedLayout2D
 
struct  StridedLayout3D
 
struct  StridedLayout4D
 
class  STRUMPACKRowLocMatrix
 
class  STRUMPACKSolver
 
class  SumIntegrator
 Integrator defining a sum of multiple Integrators. More...
 
class  SundialsODELinearSolver
 Abstract base class, wrapping the custom linear solvers interface in SUNDIALS' CVODE and ARKODE solvers. More...
 
class  SundialsSolver
 A base class for the MFEM classes wrapping SUNDIALS' solvers. More...
 
class  SuperLURowLocMatrix
 
class  SuperLUSolver
 
class  Table
 
class  TargetConstructor
 Base class representing target-matrix construction algorithms for mesh optimization via the target-matrix optimization paradigm (TMOP). More...
 
class  TBilinearForm
 
class  TCoefficient
 
class  TConstantCoefficient
 
struct  TDiffusionKernel
 
struct  TDiffusionKernel< 1, 1, complex_t >
 
struct  TDiffusionKernel< 2, 2, complex_t >
 
struct  TDiffusionKernel< 3, 3, complex_t >
 
class  TElementTransformation
 
class  TensorBasisElement
 
class  Tetrahedron
 Data type tetrahedron element. More...
 
class  TFiniteElementSpace_simple
 
class  TFunctionCoefficient
 
class  TGridFunctionCoefficient
 
class  ThresholdDerefiner
 De-refinement operator using an error threshold. More...
 
class  ThresholdRefiner
 Mesh refinement operator using an error threshold. More...
 
class  TimeDependentOperator
 Base abstract class for time dependent operators. More...
 
class  TIntegrationRule
 
class  TIntegrationRule< Geometry::CUBE, Order, real_t >
 
class  TIntegrationRule< Geometry::SEGMENT, Order, real_t >
 
class  TIntegrationRule< Geometry::SQUARE, Order, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 0, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 1, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 2, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 3, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 4, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 5, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 6, real_t >
 
class  TIntegrationRule< Geometry::TETRAHEDRON, 7, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 0, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 1, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 2, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 3, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 4, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 5, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 6, real_t >
 
class  TIntegrationRule< Geometry::TRIANGLE, 7, real_t >
 
class  TIntegrator
 
struct  TMassKernel
 
struct  TMatrix
 
class  TMesh
 
class  TMOP_Integrator
 A TMOP integrator class based on any given TMOP_QualityMetric and TargetConstructor. More...
 
class  TMOP_Metric_001
 Metric without a type, 2D. More...
 
class  TMOP_Metric_002
 Shape, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_007
 Shape & area, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_009
 Shape & area metric, 2D. More...
 
class  TMOP_Metric_022
 Shifted barrier form of metric 2 (shape, ideal barrier metric), 2D. More...
 
class  TMOP_Metric_050
 Shape, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_055
 Area metric, 2D. More...
 
class  TMOP_Metric_056
 Area, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_058
 Shape, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_077
 Area, ideal barrier metric, 2D. More...
 
class  TMOP_Metric_211
 Untangling metric, 2D. More...
 
class  TMOP_Metric_252
 Shifted barrier form of metric 56 (area, ideal barrier metric), 2D. More...
 
class  TMOP_Metric_301
 Shape, ideal barrier metric, 3D. More...
 
class  TMOP_Metric_302
 Shape, ideal barrier metric, 3D. More...
 
class  TMOP_Metric_303
 Shape, ideal barrier metric, 3D. More...
 
class  TMOP_Metric_315
 Volume metric, 3D. More...
 
class  TMOP_Metric_316
 Volume, ideal barrier metric, 3D. More...
 
class  TMOP_Metric_321
 Shape & volume, ideal barrier metric, 3D. More...
 
class  TMOP_Metric_352
 Shifted barrier form of 3D metric 16 (volume, ideal barrier metric), 3D. More...
 
class  TMOP_QualityMetric
 Abstract class for local mesh quality metrics in the target-matrix optimization paradigm (TMOP) by P. Knupp et al. More...
 
class  TPiecewiseConstCoefficient
 
class  TProductIntegrationRule
 
class  TProductIntegrationRule_base
 
class  TProductIntegrationRule_base< 1, Q, real_t >
 
class  TProductIntegrationRule_base< 2, Q, real_t >
 
class  TProductIntegrationRule_base< 3, Q, real_t >
 
class  TProductShapeEvaluator
 
class  TProductShapeEvaluator< 1, DOF, NIP, real_t >
 
class  TProductShapeEvaluator< 2, DOF, NIP, real_t >
 
class  TProductShapeEvaluator< 3, DOF, NIP, real_t >
 
class  TraceJumpIntegrator
 
class  TransformedCoefficient
 
class  TransposeIntegrator
 
class  TransposeOperator
 The transpose of a given operator. Switches the roles of the methods Mult() and MultTranspose(). More...
 
class  Triangle
 Data type triangle element. More...
 
class  TriLinear3DFiniteElement
 Class for tri-linear FE on cube. More...
 
class  Triple
 
class  TripleProductOperator
 General triple product operator x -> A*B*C*x, with ownership of the factors. More...
 
struct  TTensor3
 
struct  TTensor4
 
struct  TVector
 
class  UMFPackSolver
 Direct sparse solver using UMFPACK. More...
 
struct  VarMessage
 Variable-length MPI message containing unspecific binary data. More...
 
class  Vector
 Vector data type. More...
 
class  VectorArrayCoefficient
 Vector coefficient defined by an array of scalar coefficients. More...
 
class  VectorBoundaryFluxLFIntegrator
 
class  VectorBoundaryLFIntegrator
 
class  VectorCoefficient
 
class  VectorConstantCoefficient
 
class  VectorCrossProductInterpolator
 
class  VectorCurlCurlIntegrator
 
class  VectorDeltaCoefficient
 VectorDeltaCoefficient: DeltaCoefficient with a direction. More...
 
class  VectorDiffusionIntegrator
 
class  VectorDivergenceIntegrator
 
class  VectorDomainLFIntegrator
 
class  VectorFEBoundaryFluxLFIntegrator
 
class  VectorFEBoundaryTangentLFIntegrator
 Class for boundary integration \( L(v) = (n \times f, v) \). More...
 
class  VectorFECurlIntegrator
 
class  VectorFEDivergenceIntegrator
 
class  VectorFEDomainLFIntegrator
 \( (f, v)_{\Omega} \) for VectorFiniteElements (Nedelec, Raviart-Thomas) More...
 
class  VectorFEMassIntegrator
 Integrator for (Q u, v) for VectorFiniteElements. More...
 
class  VectorFEWeakDivergenceIntegrator
 
class  VectorFiniteElement
 
class  VectorFunctionCoefficient
 
class  VectorGridFunctionCoefficient
 Vector coefficient defined by a vector GridFunction. More...
 
class  VectorInnerProductInterpolator
 
class  VectorLayout
 
class  VectorMassIntegrator
 
class  VectorRestrictedCoefficient
 VectorCoefficient defined on a subset of domain or boundary attributes. More...
 
class  VectorScalarProductInterpolator
 
class  Vertex
 Data type for vertex. More...
 
class  VisItDataCollection
 Data collection with VisIt I/O routines. More...
 
class  VisItFieldInfo
 Helper class for VisIt visualization data. More...
 
class  ZienkiewiczZhuEstimator
 The ZienkiewiczZhuEstimator class implements the Zienkiewicz-Zhu error estimation procedure. More...
 

Typedefs

typedef L2_FECollection DG_FECollection
 Declare an alternative name for L2_FECollection = DG_FECollection. More...
 

Enumerations

enum  ErrorAction { MFEM_ERROR_ABORT = 0, MFEM_ERROR_THROW }
 Action to take when MFEM encounters an error. More...
 

Functions

template<class T >
void Swap (Array< T > &, Array< T > &)
 
template<class T >
bool operator== (const Array< T > &LHS, const Array< T > &RHS)
 
template<class T >
bool operator!= (const Array< T > &LHS, const Array< T > &RHS)
 
template<class T >
void Swap (Array2D< T > &, Array2D< T > &)
 
template<class T >
void Swap (T &a, T &b)
 inlines /// More...
 
void KdTreeSort (int **coords, int d, int dim, int size)
 
MPI_Comm ReorderRanksZCurve (MPI_Comm comm)
 
void set_error_action (ErrorAction action)
 Set the action MFEM takes when an error is encountered. More...
 
ErrorAction get_error_action ()
 Get the action MFEM takes when an error is encountered. More...
 
void mfem_backtrace (int mode, int depth)
 
void mfem_error (const char *msg=NULL)
 Function called when an error is encountered. Used by the macros MFEM_ABORT, MFEM_ASSERT, MFEM_VERIFY. More...
 
void mfem_warning (const char *msg=NULL)
 Function called by the macro MFEM_WARNING. More...
 
std::string MakeParFilename (const std::string &prefix, const int myid, const std::string suffix="", const int width=6)
 Construct a string of the form "<prefix><myid><suffix>" where the integer myid is padded with leading zeros to be at least width digits long. More...
 
int isValidAsInt (char *s)
 
int isValidAsDouble (char *s)
 
void parseArray (char *str, Array< int > &var)
 
void parseVector (char *str, Vector &var)
 
template<class A , class B >
bool operator< (const Pair< A, B > &p, const Pair< A, B > &q)
 Comparison operator for class Pair, based on the first element only. More...
 
template<class A , class B >
bool operator== (const Pair< A, B > &p, const Pair< A, B > &q)
 Equality operator for class Pair, based on the first element only. More...
 
template<class A , class B >
void SortPairs (Pair< A, B > *pairs, int size)
 Sort an array of Pairs with respect to the first element. More...
 
template<class A , class B , class C >
bool operator< (const Triple< A, B, C > &p, const Triple< A, B, C > &q)
 Lexicographic comparison operator for class Triple. More...
 
template<class A , class B , class C >
void SortTriple (Triple< A, B, C > *triples, int size)
 Lexicographic sort for arrays of class Triple. More...
 
void Sort3 (int &r, int &c, int &f)
 
void Transpose (const Table &A, Table &At, int _ncols_A=-1)
 Transpose a Table. More...
 
TableTranspose (const Table &A)
 
void Transpose (const Array< int > &A, Table &At, int _ncols_A=-1)
 Transpose an Array<int> More...
 
void Mult (const Table &A, const Table &B, Table &C)
 C = A * B (as boolean matrices) More...
 
TableMult (const Table &A, const Table &B)
 
template<>
void Swap< Table > (Table &a, Table &b)
 Specialization of the template function Swap<> for class Table. More...
 
template<AssignOp::Type Op, typename lvalue_t , typename rvalue_t >
lvalue_t & Assign (lvalue_t &a, const rvalue_t &b)
 
void skip_comment_lines (std::istream &is, const char comment_char)
 
void filter_dos (std::string &line)
 
std::string to_string (int i)
 
std::string to_padded_string (int i, int digits)
 
int to_int (const std::string &str)
 
void tic ()
 Start timing. More...
 
double toc ()
 End timing. More...
 
int GetVersion ()
 
int GetVersionMajor ()
 
int GetVersionMinor ()
 
int GetVersionPatch ()
 
const char * GetVersionStr ()
 
const char * GetGitStr ()
 
const char * GetConfigStr ()
 
BlockMatrixTranspose (const BlockMatrix &A)
 Transpose a BlockMatrix: result = A'. More...
 
BlockMatrixMult (const BlockMatrix &A, const BlockMatrix &B)
 Multiply BlockMatrix matrices: result = A*B. More...
 
void dsyevr_Eigensystem (DenseMatrix &a, Vector &ev, DenseMatrix *evect)
 
void dsyev_Eigensystem (DenseMatrix &a, Vector &ev, DenseMatrix *evect)
 
void Eigenvalues2S (const double &d12, double &d1, double &d2)
 
void Eigensystem2S (const double &d12, double &d1, double &d2, double &c, double &s)
 
void vec_normalize3_aux (const double &x1, const double &x2, const double &x3, double &n1, double &n2, double &n3)
 
void vec_normalize3 (const double &x1, const double &x2, const double &x3, double &n1, double &n2, double &n3)
 
bool KernelVector2G (const int &mode, double &d1, double &d12, double &d21, double &d2)
 
int KernelVector3G_aux (const int &mode, double &d1, double &d2, double &d3, double &c12, double &c13, double &c23, double &c21, double &c31, double &c32)
 
int KernelVector3S (const int &mode, const double &d12, const double &d13, const double &d23, double &d1, double &d2, double &d3)
 
int Reduce3S (const int &mode, double &d1, double &d2, double &d3, double &d12, double &d13, double &d23, double &z1, double &z2, double &z3, double &v1, double &v2, double &v3, double &g)
 
void GetScalingFactor (const double &d_max, double &mult)
 
void Add (const DenseMatrix &A, const DenseMatrix &B, double alpha, DenseMatrix &C)
 C = A + alpha*B. More...
 
void Add (double alpha, const double *A, double beta, const double *B, DenseMatrix &C)
 C = alpha*A + beta*B. More...
 
void Add (double alpha, const DenseMatrix &A, double beta, const DenseMatrix &B, DenseMatrix &C)
 C = alpha*A + beta*B. More...
 
void Mult (const DenseMatrix &b, const DenseMatrix &c, DenseMatrix &a)
 Matrix matrix multiplication. A = B * C. More...
 
void AddMult (const DenseMatrix &b, const DenseMatrix &c, DenseMatrix &a)
 Matrix matrix multiplication. A += B * C. More...
 
void CalcAdjugate (const DenseMatrix &a, DenseMatrix &adja)
 
void CalcAdjugateTranspose (const DenseMatrix &a, DenseMatrix &adjat)
 Calculate the transposed adjugate of a matrix (for NxN matrices, N=1,2,3) More...
 
void CalcInverse (const DenseMatrix &a, DenseMatrix &inva)
 
void CalcInverseTranspose (const DenseMatrix &a, DenseMatrix &inva)
 Calculate the inverse transpose of a matrix (for NxN matrices, N=1,2,3) More...
 
void CalcOrtho (const DenseMatrix &J, Vector &n)
 
void MultAAt (const DenseMatrix &a, DenseMatrix &aat)
 Calculate the matrix A.At. More...
 
void AddMultADAt (const DenseMatrix &A, const Vector &D, DenseMatrix &ADAt)
 ADAt += A D A^t, where D is diagonal. More...
 
void MultADAt (const DenseMatrix &A, const Vector &D, DenseMatrix &ADAt)
 ADAt = A D A^t, where D is diagonal. More...
 
void MultABt (const DenseMatrix &A, const DenseMatrix &B, DenseMatrix &ABt)
 Multiply a matrix A with the transpose of a matrix B: A*Bt. More...
 
void MultADBt (const DenseMatrix &A, const Vector &D, const DenseMatrix &B, DenseMatrix &ADBt)
 ADBt = A D B^t, where D is diagonal. More...
 
void AddMultABt (const DenseMatrix &A, const DenseMatrix &B, DenseMatrix &ABt)
 ABt += A * B^t. More...
 
void AddMultADBt (const DenseMatrix &A, const Vector &D, const DenseMatrix &B, DenseMatrix &ADBt)
 ADBt = A D B^t, where D is diagonal. More...
 
void AddMult_a_ABt (double a, const DenseMatrix &A, const DenseMatrix &B, DenseMatrix &ABt)
 ABt += a * A * B^t. More...
 
void MultAtB (const DenseMatrix &A, const DenseMatrix &B, DenseMatrix &AtB)
 Multiply the transpose of a matrix A with a matrix B: At*B. More...
 
void AddMult_a_AAt (double a, const DenseMatrix &A, DenseMatrix &AAt)
 AAt += a * A * A^t. More...
 
void Mult_a_AAt (double a, const DenseMatrix &A, DenseMatrix &AAt)
 AAt = a * A * A^t. More...
 
void MultVVt (const Vector &v, DenseMatrix &vvt)
 Make a matrix from a vector V.Vt. More...
 
void MultVWt (const Vector &v, const Vector &w, DenseMatrix &VWt)
 
void AddMultVWt (const Vector &v, const Vector &w, DenseMatrix &VWt)
 VWt += v w^t. More...
 
void AddMultVVt (const Vector &v, DenseMatrix &VWt)
 VVt += v v^t. More...
 
void AddMult_a_VWt (const double a, const Vector &v, const Vector &w, DenseMatrix &VWt)
 VWt += a * v w^t. More...
 
void AddMult_a_VVt (const double a, const Vector &v, DenseMatrix &VVt)
 VVt += a * v v^t. More...
 
double InnerProduct (HypreParVector *x, HypreParVector *y)
 
double InnerProduct (HypreParVector &x, HypreParVector &y)
 Returns the inner product of x and y. More...
 
double ParNormlp (const Vector &vec, double p, MPI_Comm comm)
 Compute the l_p norm of the Vector which is split without overlap across the given communicator. More...
 
HypreParMatrixAdd (double alpha, const HypreParMatrix &A, double beta, const HypreParMatrix &B)
 Return a new matrix C = alpha*A + beta*B, assuming that both A and B use the same row and column partitions and the same col_map_offd arrays. More...
 
HypreParMatrixParMult (const HypreParMatrix *A, const HypreParMatrix *B)
 Returns the matrix A * B. More...
 
HypreParMatrixParAdd (const HypreParMatrix *A, const HypreParMatrix *B)
 Returns the matrix A + B. More...
 
HypreParMatrixRAP (const HypreParMatrix *A, const HypreParMatrix *P)
 Returns the matrix P^t * A * P. More...
 
HypreParMatrixRAP (const HypreParMatrix *Rt, const HypreParMatrix *A, const HypreParMatrix *P)
 Returns the matrix Rt^t * A * P. More...
 
void EliminateBC (HypreParMatrix &A, HypreParMatrix &Ae, const Array< int > &ess_dof_list, const Vector &X, Vector &B)
 
int ParCSRRelax_Taubin (hypre_ParCSRMatrix *A, hypre_ParVector *f, double lambda, double mu, int N, double max_eig, hypre_ParVector *u, hypre_ParVector *r)
 
int ParCSRRelax_FIR (hypre_ParCSRMatrix *A, hypre_ParVector *f, double max_eig, int poly_order, double *fir_coeffs, hypre_ParVector *u, hypre_ParVector *x0, hypre_ParVector *x1, hypre_ParVector *x2, hypre_ParVector *x3)
 
HypreParMatrixDiscreteGrad (ParFiniteElementSpace *edge_fespace, ParFiniteElementSpace *vert_fespace)
 Compute the discrete gradient matrix between the nodal linear and ND1 spaces. More...
 
HypreParMatrixDiscreteCurl (ParFiniteElementSpace *face_fespace, ParFiniteElementSpace *edge_fespace)
 Compute the discrete curl matrix between the ND1 and RT0 spaces. More...
 
PetscParMatrixRAP (PetscParMatrix *Rt, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix Rt^t * A * P. More...
 
PetscParMatrixRAP (PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix P^t * A * P. More...
 
void EliminateBC (PetscParMatrix &A, PetscParMatrix &Ae, const Array< int > &ess_dof_list, const Vector &X, Vector &B)
 Eliminate essential BC specified by ess_dof_list from the solution X to the r.h.s. B. More...
 
void SLI (const Operator &A, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, double RTOLERANCE=1e-12, double ATOLERANCE=1e-24)
 Stationary linear iteration. (tolerances are squared) More...
 
void SLI (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, double RTOLERANCE=1e-12, double ATOLERANCE=1e-24)
 Preconditioned stationary linear iteration. (tolerances are squared) More...
 
void CG (const Operator &A, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, double RTOLERANCE=1e-12, double ATOLERANCE=1e-24)
 Conjugate gradient method. (tolerances are squared) More...
 
void PCG (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, double RTOLERANCE=1e-12, double ATOLERANCE=1e-24)
 Preconditioned conjugate gradient method. (tolerances are squared) More...
 
void GeneratePlaneRotation (double &dx, double &dy, double &cs, double &sn)
 
void ApplyPlaneRotation (double &dx, double &dy, double &cs, double &sn)
 
void Update (Vector &x, int k, DenseMatrix &h, Vector &s, Array< Vector *> &v)
 
int GMRES (const Operator &A, Vector &x, const Vector &b, Solver &M, int &max_iter, int m, double &tol, double atol, int printit)
 GMRES method. (tolerances are squared) More...
 
void GMRES (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, int m=50, double rtol=1e-12, double atol=1e-24)
 GMRES method. (tolerances are squared) More...
 
int BiCGSTAB (const Operator &A, Vector &x, const Vector &b, Solver &M, int &max_iter, double &tol, double atol, int printit)
 BiCGSTAB method. (tolerances are squared) More...
 
void BiCGSTAB (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, double rtol=1e-12, double atol=1e-24)
 BiCGSTAB method. (tolerances are squared) More...
 
void MINRES (const Operator &A, const Vector &b, Vector &x, int print_it=0, int max_it=1000, double rtol=1e-12, double atol=1e-24)
 MINRES method without preconditioner. (tolerances are squared) More...
 
void MINRES (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_it=0, int max_it=1000, double rtol=1e-12, double atol=1e-24)
 MINRES method with preconditioner. (tolerances are squared) More...
 
int aGMRES (const Operator &A, Vector &x, const Vector &b, const Operator &M, int &max_iter, int m_max, int m_min, int m_step, double cf, double &tol, double &atol, int printit)
 
void SparseMatrixFunction (SparseMatrix &S, double(*f)(double))
 Applies f() to each element of the matrix (after it is finalized). More...
 
SparseMatrixTranspose (const SparseMatrix &A)
 Transpose of a sparse matrix. A must be finalized. More...
 
SparseMatrixTransposeAbstractSparseMatrix (const AbstractSparseMatrix &A, int useActualWidth)
 Transpose of a sparse matrix. A does not need to be a CSR matrix. More...
 
SparseMatrixMult (const SparseMatrix &A, const SparseMatrix &B, SparseMatrix *OAB)
 
SparseMatrixMultAbstractSparseMatrix (const AbstractSparseMatrix &A, const AbstractSparseMatrix &B)
 Matrix product of sparse matrices. A and B do not need to be CSR matrices. More...
 
DenseMatrixMult (const SparseMatrix &A, DenseMatrix &B)
 Matrix product A.B. More...
 
DenseMatrixRAP (const SparseMatrix &A, DenseMatrix &P)
 RAP matrix product (with R=P^T) More...
 
SparseMatrixRAP (const SparseMatrix &A, const SparseMatrix &R, SparseMatrix *ORAP)
 
SparseMatrixRAP (const SparseMatrix &Rt, const SparseMatrix &A, const SparseMatrix &P)
 General RAP with given R^T, A and P. More...
 
SparseMatrixMult_AtDA (const SparseMatrix &A, const Vector &D, SparseMatrix *OAtDA=NULL)
 Matrix multiplication A^t D A. All matrices must be finalized. More...
 
SparseMatrixAdd (double a, const SparseMatrix &A, double b, const SparseMatrix &B)
 Matrix addition result = a*A + b*B. More...
 
SparseMatrixAdd (const SparseMatrix &A, const SparseMatrix &B)
 Matrix addition result = A + B. More...
 
SparseMatrixAdd (Array< SparseMatrix * > &Ai)
 Matrix addition result = sum_i A_i. More...
 
class if defined (__alignas_is_defined) alignas(double) RowNode
 
template<>
void Swap< SparseMatrix > (SparseMatrix &a, SparseMatrix &b)
 Specialization of the template function Swap<> for class SparseMatrix. More...
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void sMult_AB (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<int bA1, int bA2, int bB2, bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void bMult_AB (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void Mult_AB (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<typename scalar_t , typename layout_t , typename data_t >
scalar_t TDet (const layout_t &a, const data_t &A)
 
template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename D_data_t >
void TDet (const A_layout_t &a, const A_data_t &A, D_data_t &D)
 
template<typename scalar_t , typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
void TAdjugate (const A_layout_t &a, const A_data_t &A, const B_layout_t &b, B_data_t &B)
 
template<typename scalar_t , typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
scalar_t TAdjDet (const A_layout_t &a, const A_data_t &A, const B_layout_t &b, B_data_t &B)
 
template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename scalar_t >
void TAssign (const A_layout_t &A_layout, A_data_t &A_data, scalar_t value)
 
template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
void TAssign (const A_layout_t &A_layout, A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data)
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void Mult_1_2 (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void Mult_2_1 (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void TensorAssemble (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, C_data_t &C_data)
 
template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t , typename D_layout_t , typename D_data_t >
MFEM_ALWAYS_INLINE void TensorAssemble (const A_layout_t &A_layout, const A_data_t &A_data, const B_layout_t &B_layout, const B_data_t &B_data, const C_layout_t &C_layout, const C_data_t &C_data, const D_layout_t &D_layout, D_data_t &D_data)
 
template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void TensorProduct (const A_layout_t &a, const A_data_t &A, const B_layout_t &b, const B_data_t &B, const C_layout_t &c, C_data_t &C)
 
void add (const Vector &v1, const Vector &v2, Vector &v)
 
void add (const Vector &v1, double alpha, const Vector &v2, Vector &v)
 
void add (const double a, const Vector &x, const Vector &y, Vector &z)
 
void add (const double a, const Vector &x, const double b, const Vector &y, Vector &z)
 
void subtract (const Vector &x, const Vector &y, Vector &z)
 
void subtract (const double a, const Vector &x, const Vector &y, Vector &z)
 
int CheckFinite (const double *v, const int n)
 
double infinity ()
 Define a shortcut for std::numeric_limits<double>::infinity() More...
 
bool IsFinite (const double &val)
 
template<>
void Swap< Vector > (Vector &a, Vector &b)
 Specialization of the template function Swap<> for class Vector. More...
 
double DistanceSquared (const double *x, const double *y, const int n)
 
double Distance (const double *x, const double *y, const int n)
 
double InnerProduct (const Vector &x, const Vector &y)
 Returns the inner product of x and y. More...
 
double InnerProduct (MPI_Comm comm, const Vector &x, const Vector &y)
 Returns the inner product of x and y in parallel. More...
 
void XYZ_VectorFunction (const Vector &p, Vector &v)
 
void FindPartitioningComponents (Table &elem_elem, const Array< int > &partitioning, Array< int > &component, Array< int > &num_comp)
 
void DetOfLinComb (const DenseMatrix &A, const DenseMatrix &B, Vector &c)
 
int FindRoots (const Vector &z, Vector &x)
 
void FindTMax (Vector &c, Vector &x, double &tmax, const double factor, const int Dim)
 
std::ostream & operator<< (std::ostream &out, const Mesh &mesh)
 
MeshExtrude1D (Mesh *mesh, const int ny, const double sy, const bool closed=false)
 Extrude a 1D mesh. More...
 
NURBSPatchInterpolate (NURBSPatch &p1, NURBSPatch &p2)
 
NURBSPatchRevolve3D (NURBSPatch &patch, double n[], double ang, int times)
 
bool operator< (const ParNCMesh::CommGroup &lhs, const ParNCMesh::CommGroup &rhs)
 
bool operator< (const NCMesh::MeshId &a, const NCMesh::MeshId &b)
 
bool operator== (const NCMesh::MeshId &a, const NCMesh::MeshId &b)
 
double LpNormLoop (double p, Coefficient &coeff, Mesh &mesh, const IntegrationRule *irs[])
 
double LpNormLoop (double p, VectorCoefficient &coeff, Mesh &mesh, const IntegrationRule *irs[])
 
double ComputeLpNorm (double p, Coefficient &coeff, Mesh &mesh, const IntegrationRule *irs[])
 
double ComputeLpNorm (double p, VectorCoefficient &coeff, Mesh &mesh, const IntegrationRule *irs[])
 
double ComputeGlobalLpNorm (double p, Coefficient &coeff, ParMesh &pmesh, const IntegrationRule *irs[])
 
double ComputeGlobalLpNorm (double p, VectorCoefficient &coeff, ParMesh &pmesh, const IntegrationRule *irs[])
 
template<>
void Ordering::DofsToVDofs< Ordering::byNODES > (int ndofs, int vdim, Array< int > &dofs)
 
template<>
void Ordering::DofsToVDofs< Ordering::byVDIM > (int ndofs, int vdim, Array< int > &dofs)
 
void InvertLinearTrans (IsoparametricTransformation &trans, const DenseMatrix &invdfdx, const IntegrationPoint &pt, Vector &x)
 
template<>
int Ordering::Map< Ordering::byNODES > (int ndofs, int vdim, int dof, int vd)
 
template<>
int Ordering::Map< Ordering::byVDIM > (int ndofs, int vdim, int dof, int vd)
 
std::ostream & operator<< (std::ostream &out, const GridFunction &sol)
 
std::ostream & operator<< (std::ostream &out, const QuadratureFunction &qf)
 Overload operator<< for std::ostream and QuadratureFunction. More...
 
double ZZErrorEstimator (BilinearFormIntegrator &blfi, GridFunction &u, GridFunction &flux, Vector &error_estimates, Array< int > *aniso_flags, int with_subdomains)
 
double ComputeElementLpDistance (double p, int i, GridFunction &gf1, GridFunction &gf2)
 Compute the Lp distance between two grid functions on the given element. More...
 
GridFunctionExtrude1DGridFunction (Mesh *mesh, Mesh *mesh2d, GridFunction *sol, const int ny)
 Extrude a scalar 1D GridFunction, after extruding the mesh with Extrude1D. More...
 
double GlobalLpNorm (const double p, double loc_norm, MPI_Comm comm)
 Compute a global Lp norm from the local Lp norms computed by each processor. More...
 
double L2ZZErrorEstimator (BilinearFormIntegrator &flux_integrator, const ParGridFunction &x, ParFiniteElementSpace &smooth_flux_fes, ParFiniteElementSpace &flux_fes, Vector &errors, int norm_p, double solver_tol, int solver_max_it)
 
template<typename real_t >
void CalcShapeMatrix (const FiniteElement &fe, const IntegrationRule &ir, real_t *B, const Array< int > *dof_map=NULL)
 
template<typename real_t >
void CalcGradTensor (const FiniteElement &fe, const IntegrationRule &ir, real_t *G, const Array< int > *dof_map=NULL)
 
template<typename real_t >
void CalcShapes (const FiniteElement &fe, const IntegrationRule &ir, real_t *B, real_t *G, const Array< int > *dof_map)
 
void InterpolateTMOP_QualityMetric (TMOP_QualityMetric &metric, const TargetConstructor &tc, const Mesh &mesh, GridFunction &metric_gf)
 Interpolates the metric's values at the nodes of metric_gf. More...
 
MFEM "global" communicator functions.

Functions for getting and setting the MPI communicator used by the library as the "global" communicator.

Currently, the MFEM "global" communicator is used only by the function mfem_error(), invoked when an error is detected - the "global" communicator is used as a parameter to MPI_Abort() to terminate all "global" tasks.

MPI_Comm GetGlobalMPI_Comm ()
 Get MFEM's "global" MPI communicator. More...
 
void SetGlobalMPI_Comm (MPI_Comm comm)
 Set MFEM's "global" MPI communicator. More...
 

Variables

OutStream out (std::cout)
 Global stream used by the library for standard output. Initially it uses the same std::streambuf as std::cout, however that can be changed. More...
 
OutStream err (std::cerr)
 Global stream used by the library for standard error output. Initially it uses the same std::streambuf as std::cerr, however that can be changed. More...
 
MPI_Comm MFEM_COMM_WORLD = MPI_COMM_WORLD
 
StopWatch tic_toc
 
TriLinear3DFiniteElement HexahedronFE
 
PointFiniteElement PointFE
 
BiLinear2DFiniteElement QuadrilateralFE
 
Linear1DFiniteElement SegmentFE
 
Linear3DFiniteElement TetrahedronFE
 
Linear2DFiniteElement TriangleFE
 
Poly_1D poly1d
 
Geometry Geometries
 
GeometryRefiner GlobGeometryRefiner
 
IntegrationRules IntRules (0, Quadrature1D::GaussLegendre)
 A global object with all integration rules (defined in intrules.cpp) More...
 
IntegrationRules RefinedIntRules (1, Quadrature1D::GaussLegendre)
 A global object with all refined integration rules. More...
 

Typedef Documentation

◆ DG_FECollection

Declare an alternative name for L2_FECollection = DG_FECollection.

Definition at line 169 of file fe_coll.hpp.

Enumeration Type Documentation

◆ ErrorAction

Action to take when MFEM encounters an error.

Enumerator
MFEM_ERROR_ABORT 

Abort execution using abort() or MPI_Abort(). This is the default error action when the build option MFEM_USE_EXCEPTIONS is set to NO.

MFEM_ERROR_THROW 

Throw an ErrorException. Requires the build option MFEM_USE_EXCEPTIONS=YES in which case it is also the default error action.

Definition at line 23 of file error.hpp.

Function Documentation

◆ add() [1/4]

void mfem::add ( const Vector v1,
const Vector v2,
Vector v 
)

Definition at line 260 of file vector.cpp.

◆ add() [2/4]

void mfem::add ( const Vector v1,
double  alpha,
const Vector v2,
Vector v 
)

Definition at line 278 of file vector.cpp.

◆ add() [3/4]

void mfem::add ( const double  a,
const Vector x,
const Vector y,
Vector z 
)

Definition at line 309 of file vector.cpp.

◆ add() [4/4]

void mfem::add ( const double  a,
const Vector x,
const double  b,
const Vector y,
Vector z 
)

Definition at line 341 of file vector.cpp.

◆ Add() [1/7]

HypreParMatrix * mfem::Add ( double  alpha,
const HypreParMatrix A,
double  beta,
const HypreParMatrix B 
)

Return a new matrix C = alpha*A + beta*B, assuming that both A and B use the same row and column partitions and the same col_map_offd arrays.

Definition at line 1521 of file hypre.cpp.

◆ Add() [2/7]

void mfem::Add ( const DenseMatrix A,
const DenseMatrix B,
double  alpha,
DenseMatrix C 
)

C = A + alpha*B.

Definition at line 2942 of file densemat.cpp.

◆ Add() [3/7]

void mfem::Add ( double  alpha,
const double *  A,
double  beta,
const double *  B,
DenseMatrix C 
)

C = alpha*A + beta*B.

Definition at line 2952 of file densemat.cpp.

◆ Add() [4/7]

void mfem::Add ( double  alpha,
const DenseMatrix A,
double  beta,
const DenseMatrix B,
DenseMatrix C 
)

C = alpha*A + beta*B.

Definition at line 2963 of file densemat.cpp.

◆ Add() [5/7]

SparseMatrix * mfem::Add ( double  a,
const SparseMatrix A,
double  b,
const SparseMatrix B 
)

Matrix addition result = a*A + b*B.

Definition at line 3151 of file sparsemat.cpp.

◆ Add() [6/7]

SparseMatrix * mfem::Add ( const SparseMatrix A,
const SparseMatrix B 
)

Matrix addition result = A + B.

Definition at line 3234 of file sparsemat.cpp.

◆ Add() [7/7]

SparseMatrix * mfem::Add ( Array< SparseMatrix *> &  Ai)

Matrix addition result = sum_i A_i.

Definition at line 3239 of file sparsemat.cpp.

◆ AddMult()

void mfem::AddMult ( const DenseMatrix b,
const DenseMatrix c,
DenseMatrix a 
)

Matrix matrix multiplication. A += B * C.

Definition at line 3010 of file densemat.cpp.

◆ AddMult_a_AAt()

void mfem::AddMult_a_AAt ( double  a,
const DenseMatrix A,
DenseMatrix AAt 
)

AAt += a * A * A^t.

Definition at line 3688 of file densemat.cpp.

◆ AddMult_a_ABt()

void mfem::AddMult_a_ABt ( double  a,
const DenseMatrix A,
const DenseMatrix B,
DenseMatrix ABt 
)

ABt += a * A * B^t.

Definition at line 3572 of file densemat.cpp.

◆ AddMult_a_VVt()

void mfem::AddMult_a_VVt ( const double  a,
const Vector v,
DenseMatrix VVt 
)

VVt += a * v v^t.

Definition at line 3825 of file densemat.cpp.

◆ AddMult_a_VWt()

void mfem::AddMult_a_VWt ( const double  a,
const Vector v,
const Vector w,
DenseMatrix VWt 
)

VWt += a * v w^t.

Definition at line 3803 of file densemat.cpp.

◆ AddMultABt()

void mfem::AddMultABt ( const DenseMatrix A,
const DenseMatrix B,
DenseMatrix ABt 
)

ABt += A * B^t.

Definition at line 3479 of file densemat.cpp.

◆ AddMultADAt()

void mfem::AddMultADAt ( const DenseMatrix A,
const Vector D,
DenseMatrix ADAt 
)

ADAt += A D A^t, where D is diagonal.

Definition at line 3312 of file densemat.cpp.

◆ AddMultADBt()

void mfem::AddMultADBt ( const DenseMatrix A,
const Vector D,
const DenseMatrix B,
DenseMatrix ADBt 
)

ADBt = A D B^t, where D is diagonal.

Definition at line 3536 of file densemat.cpp.

◆ AddMultVVt()

void mfem::AddMultVVt ( const Vector v,
DenseMatrix VVt 
)

VVt += v v^t.

Definition at line 3779 of file densemat.cpp.

◆ AddMultVWt()

void mfem::AddMultVWt ( const Vector v,
const Vector w,
DenseMatrix VWt 
)

VWt += v w^t.

Definition at line 3758 of file densemat.cpp.

◆ aGMRES()

int mfem::aGMRES ( const Operator A,
Vector x,
const Vector b,
const Operator M,
int &  max_iter,
int  m_max,
int  m_min,
int  m_step,
double  cf,
double &  tol,
double &  atol,
int  printit 
)

Adaptive restarted GMRES. m_max and m_min(=1) are the maximal and minimal restart parameters. m_step(=1) is the step to use for going from m_max and m_min. cf(=0.4) is a desired convergence factor.

Definition at line 1318 of file solvers.cpp.

◆ ApplyPlaneRotation()

void mfem::ApplyPlaneRotation ( double &  dx,
double &  dy,
double &  cs,
double &  sn 
)
inline

Definition at line 494 of file solvers.cpp.

◆ Assign()

template<AssignOp::Type Op, typename lvalue_t , typename rvalue_t >
lvalue_t& mfem::Assign ( lvalue_t &  a,
const rvalue_t &  b 
)
inline

Definition at line 97 of file tassign.hpp.

◆ BiCGSTAB() [1/2]

int mfem::BiCGSTAB ( const Operator A,
Vector x,
const Vector b,
Solver M,
int &  max_iter,
double &  tol,
double  atol,
int  printit 
)

BiCGSTAB method. (tolerances are squared)

Definition at line 1009 of file solvers.cpp.

◆ BiCGSTAB() [2/2]

void mfem::BiCGSTAB ( const Operator A,
Solver B,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
double  rtol,
double  atol 
)

BiCGSTAB method. (tolerances are squared)

Definition at line 1025 of file solvers.cpp.

◆ bMult_AB()

template<int bA1, int bA2, int bB2, bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::bMult_AB ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 75 of file tmatrix.hpp.

◆ CalcAdjugate()

void mfem::CalcAdjugate ( const DenseMatrix a,
DenseMatrix adja 
)

Calculate the adjugate of a matrix (for NxN matrices, N=1,2,3) or the matrix adj(A^t.A).A^t for rectangular matrices (2x1, 3x1, or 3x2). This operation is well defined even when the matrix is not full rank.

Definition at line 3042 of file densemat.cpp.

◆ CalcAdjugateTranspose()

void mfem::CalcAdjugateTranspose ( const DenseMatrix a,
DenseMatrix adjat 
)

Calculate the transposed adjugate of a matrix (for NxN matrices, N=1,2,3)

Definition at line 3114 of file densemat.cpp.

◆ CalcGradTensor()

template<typename real_t >
void mfem::CalcGradTensor ( const FiniteElement fe,
const IntegrationRule ir,
real_t *  G,
const Array< int > *  dof_map = NULL 
)

Definition at line 45 of file tfe.hpp.

◆ CalcInverse()

void mfem::CalcInverse ( const DenseMatrix a,
DenseMatrix inva 
)

Calculate the inverse of a matrix (for NxN matrices, N=1,2,3) or the left inverse (A^t.A)^{-1}.A^t (for 2x1, 3x1, or 3x2 matrices)

Definition at line 3150 of file densemat.cpp.

◆ CalcInverseTranspose()

void mfem::CalcInverseTranspose ( const DenseMatrix a,
DenseMatrix inva 
)

Calculate the inverse transpose of a matrix (for NxN matrices, N=1,2,3)

Definition at line 3233 of file densemat.cpp.

◆ CalcOrtho()

void mfem::CalcOrtho ( const DenseMatrix J,
Vector n 
)

For a given Nx(N-1) (N=2,3) matrix J, compute a vector n such that n_k = (-1)^{k+1} det(J_k), k=1,..,N, where J_k is the matrix J with the k-th row removed. Note: J^t.n = 0, det([n|J])=|n|^2=det(J^t.J).

Definition at line 3272 of file densemat.cpp.

◆ CalcShapeMatrix()

template<typename real_t >
void mfem::CalcShapeMatrix ( const FiniteElement fe,
const IntegrationRule ir,
real_t *  B,
const Array< int > *  dof_map = NULL 
)

Definition at line 24 of file tfe.hpp.

◆ CalcShapes()

template<typename real_t >
void mfem::CalcShapes ( const FiniteElement fe,
const IntegrationRule ir,
real_t *  B,
real_t *  G,
const Array< int > *  dof_map 
)

Definition at line 70 of file tfe.hpp.

◆ CG()

void mfem::CG ( const Operator A,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
double  RTOLERANCE,
double  ATOLERANCE 
)

Conjugate gradient method. (tolerances are squared)

Definition at line 444 of file solvers.cpp.

◆ CheckFinite()

int mfem::CheckFinite ( const double *  v,
const int  n 
)
inline

Count the number of entries in an array of doubles for which isfinite is false, i.e. the entry is a NaN or +/-Inf.

Definition at line 304 of file vector.hpp.

◆ ComputeElementLpDistance()

double mfem::ComputeElementLpDistance ( double  p,
int  i,
GridFunction gf1,
GridFunction gf2 
)

Compute the Lp distance between two grid functions on the given element.

Definition at line 2707 of file gridfunc.cpp.

◆ ComputeGlobalLpNorm() [1/2]

double mfem::ComputeGlobalLpNorm ( double  p,
Coefficient coeff,
ParMesh pmesh,
const IntegrationRule irs[] 
)

Compute the global Lp norm of a function f. \( \| f \|_{Lp} = ( \int_\Omega | f |^p d\Omega)^{1/p} \)

Definition at line 406 of file coefficient.cpp.

◆ ComputeGlobalLpNorm() [2/2]

double mfem::ComputeGlobalLpNorm ( double  p,
VectorCoefficient coeff,
ParMesh pmesh,
const IntegrationRule irs[] 
)

Compute the global Lp norm of a vector function f = {f_i}_i=1...N. \( \| f \|_{Lp} = ( \sum_i \| f_i \|_{Lp}^p )^{1/p} \)

Definition at line 436 of file coefficient.cpp.

◆ ComputeLpNorm() [1/2]

double mfem::ComputeLpNorm ( double  p,
Coefficient coeff,
Mesh mesh,
const IntegrationRule irs[] 
)

Compute the Lp norm of a function f. \( \| f \|_{Lp} = ( \int_\Omega | f |^p d\Omega)^{1/p} \)

Definition at line 363 of file coefficient.cpp.

◆ ComputeLpNorm() [2/2]

double mfem::ComputeLpNorm ( double  p,
VectorCoefficient coeff,
Mesh mesh,
const IntegrationRule irs[] 
)

Compute the Lp norm of a vector function f = {f_i}_i=1...N. \( \| f \|_{Lp} = ( \sum_i \| f_i \|_{Lp}^p )^{1/p} \)

Definition at line 384 of file coefficient.cpp.

◆ defined()

class if mfem::defined ( __alignas_is_defined  )

Definition at line 26 of file sparsemat.hpp.

◆ DetOfLinComb()

void mfem::DetOfLinComb ( const DenseMatrix A,
const DenseMatrix B,
Vector c 
)

Definition at line 5004 of file mesh.cpp.

◆ DiscreteCurl()

HypreParMatrix* mfem::DiscreteCurl ( ParFiniteElementSpace face_fespace,
ParFiniteElementSpace edge_fespace 
)

Compute the discrete curl matrix between the ND1 and RT0 spaces.

◆ DiscreteGrad()

HypreParMatrix* mfem::DiscreteGrad ( ParFiniteElementSpace edge_fespace,
ParFiniteElementSpace vert_fespace 
)

Compute the discrete gradient matrix between the nodal linear and ND1 spaces.

◆ Distance()

double mfem::Distance ( const double *  x,
const double *  y,
const int  n 
)
inline

Definition at line 406 of file vector.hpp.

◆ DistanceSquared()

double mfem::DistanceSquared ( const double *  x,
const double *  y,
const int  n 
)
inline

Definition at line 394 of file vector.hpp.

◆ dsyev_Eigensystem()

void mfem::dsyev_Eigensystem ( DenseMatrix a,
Vector ev,
DenseMatrix evect 
)

Definition at line 1021 of file densemat.cpp.

◆ dsyevr_Eigensystem()

void mfem::dsyevr_Eigensystem ( DenseMatrix a,
Vector ev,
DenseMatrix evect 
)

Definition at line 859 of file densemat.cpp.

◆ Eigensystem2S()

void mfem::Eigensystem2S ( const double &  d12,
double &  d1,
double &  d2,
double &  c,
double &  s 
)
inline

Definition at line 1167 of file densemat.cpp.

◆ Eigenvalues2S()

void mfem::Eigenvalues2S ( const double &  d12,
double &  d1,
double &  d2 
)
inline

Definition at line 1148 of file densemat.cpp.

◆ EliminateBC() [1/2]

void mfem::EliminateBC ( PetscParMatrix A,
PetscParMatrix Ae,
const Array< int > &  ess_dof_list,
const Vector X,
Vector B 
)

Eliminate essential BC specified by ess_dof_list from the solution X to the r.h.s. B.

Here, A is a matrix with eliminated BC, while Ae is such that (A + Ae) is the original (Neumann) matrix before elimination.

Definition at line 1285 of file petsc.cpp.

◆ EliminateBC() [2/2]

void mfem::EliminateBC ( HypreParMatrix A,
HypreParMatrix Ae,
const Array< int > &  ess_dof_list,
const Vector X,
Vector B 
)

Eliminate essential BC specified by 'ess_dof_list' from the solution X to the r.h.s. B. Here A is a matrix with eliminated BC, while Ae is such that (A+Ae) is the original (Neumann) matrix before elimination.

Definition at line 1612 of file hypre.cpp.

◆ Extrude1D()

Mesh * mfem::Extrude1D ( Mesh mesh,
const int  ny,
const double  sy,
const bool  closed 
)

Extrude a 1D mesh.

Definition at line 8692 of file mesh.cpp.

◆ Extrude1DGridFunction()

GridFunction * mfem::Extrude1DGridFunction ( Mesh mesh,
Mesh mesh2d,
GridFunction sol,
const int  ny 
)

Extrude a scalar 1D GridFunction, after extruding the mesh with Extrude1D.

Definition at line 2774 of file gridfunc.cpp.

◆ filter_dos()

void mfem::filter_dos ( std::string &  line)
inline

Definition at line 41 of file text.hpp.

◆ FindPartitioningComponents()

void mfem::FindPartitioningComponents ( Table elem_elem,
const Array< int > &  partitioning,
Array< int > &  component,
Array< int > &  num_comp 
)

Definition at line 4876 of file mesh.cpp.

◆ FindRoots()

int mfem::FindRoots ( const Vector z,
Vector x 
)

Definition at line 5084 of file mesh.cpp.

◆ FindTMax()

void mfem::FindTMax ( Vector c,
Vector x,
double &  tmax,
const double  factor,
const int  Dim 
)

Definition at line 5231 of file mesh.cpp.

◆ GeneratePlaneRotation()

void mfem::GeneratePlaneRotation ( double &  dx,
double &  dy,
double &  cs,
double &  sn 
)
inline

Definition at line 472 of file solvers.cpp.

◆ get_error_action()

ErrorAction mfem::get_error_action ( )

Get the action MFEM takes when an error is encountered.

Definition at line 72 of file error.cpp.

◆ GetConfigStr()

const char * mfem::GetConfigStr ( )

Definition at line 66 of file version.cpp.

◆ GetGitStr()

const char * mfem::GetGitStr ( )

Definition at line 59 of file version.cpp.

◆ GetGlobalMPI_Comm()

MPI_Comm mfem::GetGlobalMPI_Comm ( )

Get MFEM's "global" MPI communicator.

Definition at line 39 of file globals.cpp.

◆ GetScalingFactor()

void mfem::GetScalingFactor ( const double &  d_max,
double &  mult 
)
inline

Definition at line 1738 of file densemat.cpp.

◆ GetVersion()

int mfem::GetVersion ( )

Definition at line 22 of file version.cpp.

◆ GetVersionMajor()

int mfem::GetVersionMajor ( )

Definition at line 28 of file version.cpp.

◆ GetVersionMinor()

int mfem::GetVersionMinor ( )

Definition at line 34 of file version.cpp.

◆ GetVersionPatch()

int mfem::GetVersionPatch ( )

Definition at line 40 of file version.cpp.

◆ GetVersionStr()

const char * mfem::GetVersionStr ( )

Definition at line 46 of file version.cpp.

◆ GlobalLpNorm()

double mfem::GlobalLpNorm ( const double  p,
double  loc_norm,
MPI_Comm  comm 
)

Compute a global Lp norm from the local Lp norms computed by each processor.

Definition at line 545 of file pgridfunc.cpp.

◆ GMRES() [1/2]

int mfem::GMRES ( const Operator A,
Vector x,
const Vector b,
Solver M,
int &  max_iter,
int  m,
double &  tol,
double  atol,
int  printit 
)

GMRES method. (tolerances are squared)

Definition at line 844 of file solvers.cpp.

◆ GMRES() [2/2]

void mfem::GMRES ( const Operator A,
Solver B,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
int  m,
double  rtol,
double  atol 
)

GMRES method. (tolerances are squared)

Definition at line 861 of file solvers.cpp.

◆ infinity()

double mfem::infinity ( )
inline

Define a shortcut for std::numeric_limits<double>::infinity()

Definition at line 42 of file vector.hpp.

◆ InnerProduct() [1/4]

double mfem::InnerProduct ( HypreParVector x,
HypreParVector y 
)

Definition at line 252 of file hypre.cpp.

◆ InnerProduct() [2/4]

double mfem::InnerProduct ( HypreParVector x,
HypreParVector y 
)

Returns the inner product of x and y.

Definition at line 257 of file hypre.cpp.

◆ InnerProduct() [3/4]

double mfem::InnerProduct ( const Vector x,
const Vector y 
)
inline

Returns the inner product of x and y.

In parallel this computes the inner product of the local vectors, producing different results on each MPI rank.

Definition at line 425 of file vector.hpp.

◆ InnerProduct() [4/4]

double mfem::InnerProduct ( MPI_Comm  comm,
const Vector x,
const Vector y 
)
inline

Returns the inner product of x and y in parallel.

In parallel this computes the inner product of the global vectors, producing identical results on each MPI rank.

Definition at line 435 of file vector.hpp.

◆ Interpolate()

NURBSPatch* mfem::Interpolate ( NURBSPatch p1,
NURBSPatch p2 
)

Definition at line 1073 of file nurbs.cpp.

◆ InterpolateTMOP_QualityMetric()

void mfem::InterpolateTMOP_QualityMetric ( TMOP_QualityMetric metric,
const TargetConstructor tc,
const Mesh mesh,
GridFunction metric_gf 
)

Interpolates the metric's values at the nodes of metric_gf.

Assumes that metric_gf's FiniteElementSpace is initialized.

Definition at line 987 of file tmop.cpp.

◆ InvertLinearTrans()

void mfem::InvertLinearTrans ( IsoparametricTransformation trans,
const DenseMatrix invdfdx,
const IntegrationPoint pt,
Vector x 
)

Definition at line 944 of file fespace.cpp.

◆ IsFinite()

bool mfem::IsFinite ( const double &  val)
inline

Definition at line 293 of file vector.hpp.

◆ isValidAsDouble()

int mfem::isValidAsDouble ( char *  s)

Definition at line 50 of file optparser.cpp.

◆ isValidAsInt()

int mfem::isValidAsInt ( char *  s)

Definition at line 21 of file optparser.cpp.

◆ KdTreeSort()

void mfem::KdTreeSort ( int **  coords,
int  d,
int  dim,
int  size 
)

Definition at line 1265 of file communication.cpp.

◆ KernelVector2G()

bool mfem::KernelVector2G ( const int &  mode,
double &  d1,
double &  d12,
double &  d21,
double &  d2 
)
inline

Definition at line 1241 of file densemat.cpp.

◆ KernelVector3G_aux()

int mfem::KernelVector3G_aux ( const int &  mode,
double &  d1,
double &  d2,
double &  d3,
double &  c12,
double &  c13,
double &  c23,
double &  c21,
double &  c31,
double &  c32 
)
inline

Definition at line 1382 of file densemat.cpp.

◆ KernelVector3S()

int mfem::KernelVector3S ( const int &  mode,
const double &  d12,
const double &  d13,
const double &  d23,
double &  d1,
double &  d2,
double &  d3 
)
inline

Definition at line 1487 of file densemat.cpp.

◆ L2ZZErrorEstimator()

double mfem::L2ZZErrorEstimator ( BilinearFormIntegrator flux_integrator,
const ParGridFunction x,
ParFiniteElementSpace smooth_flux_fes,
ParFiniteElementSpace flux_fes,
Vector errors,
int  norm_p = 2,
double  solver_tol = 1e-12,
int  solver_max_it = 200 
)

Performs a global L2 projection (through a HypreBoomerAMG solve) of flux from supplied discontinuous space into supplied smooth (continuous, or at least conforming) space, and computes the Lp norms of the differences between them on each element. This is one approach to handling conforming and non-conforming elements in parallel. Returns the total error estimate.

Definition at line 628 of file pgridfunc.cpp.

◆ LpNormLoop() [1/2]

double mfem::LpNormLoop ( double  p,
Coefficient coeff,
Mesh mesh,
const IntegrationRule irs[] 
)

Definition at line 290 of file coefficient.cpp.

◆ LpNormLoop() [2/2]

double mfem::LpNormLoop ( double  p,
VectorCoefficient coeff,
Mesh mesh,
const IntegrationRule irs[] 
)

Definition at line 321 of file coefficient.cpp.

◆ MakeParFilename()

std::string mfem::MakeParFilename ( const std::string &  prefix,
const int  myid,
const std::string  suffix = "",
const int  width = 6 
)

Construct a string of the form "<prefix><myid><suffix>" where the integer myid is padded with leading zeros to be at least width digits long.

This is a convenience function, e.g. to redirect mfem::out to individual files for each rank, one can use:

std::ofstream out_file(MakeParFilename("app_out.", myid).c_str());
mfem::out.SetStream(out_file);

Definition at line 26 of file globals.cpp.

◆ mfem_backtrace()

void mfem::mfem_backtrace ( int  mode,
int  depth 
)

Definition at line 77 of file error.cpp.

◆ mfem_error()

void mfem::mfem_error ( const char *  msg)

Function called when an error is encountered. Used by the macros MFEM_ABORT, MFEM_ASSERT, MFEM_VERIFY.

Definition at line 146 of file error.cpp.

◆ mfem_warning()

void mfem::mfem_warning ( const char *  msg)

Function called by the macro MFEM_WARNING.

Definition at line 178 of file error.cpp.

◆ MINRES() [1/2]

void mfem::MINRES ( const Operator A,
const Vector b,
Vector x,
int  print_it,
int  max_it,
double  rtol,
double  atol 
)

MINRES method without preconditioner. (tolerances are squared)

Definition at line 1204 of file solvers.cpp.

◆ MINRES() [2/2]

void mfem::MINRES ( const Operator A,
Solver B,
const Vector b,
Vector x,
int  print_it,
int  max_it,
double  rtol,
double  atol 
)

MINRES method with preconditioner. (tolerances are squared)

Definition at line 1216 of file solvers.cpp.

◆ Mult() [1/6]

void mfem::Mult ( const Table A,
const Table B,
Table C 
)

C = A * B (as boolean matrices)

Definition at line 478 of file table.cpp.

◆ Mult() [2/6]

Table * mfem::Mult ( const Table A,
const Table B 
)

Definition at line 549 of file table.cpp.

◆ Mult() [3/6]

BlockMatrix * mfem::Mult ( const BlockMatrix A,
const BlockMatrix B 
)

Multiply BlockMatrix matrices: result = A*B.

Definition at line 573 of file blockmatrix.cpp.

◆ Mult() [4/6]

SparseMatrix * mfem::Mult ( const SparseMatrix A,
const SparseMatrix B,
SparseMatrix OAB = NULL 
)

Matrix product A.B. If OAB is not NULL, we assume it has the structure of A.B and store the result in OAB. If OAB is NULL, we create a new SparseMatrix to store the result and return a pointer to it. All matrices must be finalized.

Definition at line 2864 of file sparsemat.cpp.

◆ Mult() [5/6]

void mfem::Mult ( const DenseMatrix b,
const DenseMatrix c,
DenseMatrix a 
)

Matrix matrix multiplication. A = B * C.

Definition at line 2974 of file densemat.cpp.

◆ Mult() [6/6]

DenseMatrix * mfem::Mult ( const SparseMatrix A,
DenseMatrix B 
)

Matrix product A.B.

Definition at line 3087 of file sparsemat.cpp.

◆ Mult_1_2()

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::Mult_1_2 ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 392 of file ttensor.hpp.

◆ Mult_2_1()

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::Mult_2_1 ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 415 of file ttensor.hpp.

◆ Mult_a_AAt()

void mfem::Mult_a_AAt ( double  a,
const DenseMatrix A,
DenseMatrix AAt 
)

AAt = a * A * A^t.

Definition at line 3713 of file densemat.cpp.

◆ Mult_AB()

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::Mult_AB ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 216 of file tmatrix.hpp.

◆ Mult_AtDA()

SparseMatrix * mfem::Mult_AtDA ( const SparseMatrix A,
const Vector D,
SparseMatrix OAtDA 
)

Matrix multiplication A^t D A. All matrices must be finalized.

Definition at line 3132 of file sparsemat.cpp.

◆ MultAAt()

void mfem::MultAAt ( const DenseMatrix a,
DenseMatrix aat 
)

Calculate the matrix A.At.

Definition at line 3298 of file densemat.cpp.

◆ MultAbstractSparseMatrix()

SparseMatrix * mfem::MultAbstractSparseMatrix ( const AbstractSparseMatrix A,
const AbstractSparseMatrix B 
)

Matrix product of sparse matrices. A and B do not need to be CSR matrices.

Definition at line 2990 of file sparsemat.cpp.

◆ MultABt()

void mfem::MultABt ( const DenseMatrix A,
const DenseMatrix B,
DenseMatrix ABt 
)

Multiply a matrix A with the transpose of a matrix B: A*Bt.

Definition at line 3356 of file densemat.cpp.

◆ MultADAt()

void mfem::MultADAt ( const DenseMatrix A,
const Vector D,
DenseMatrix ADAt 
)

ADAt = A D A^t, where D is diagonal.

Definition at line 3340 of file densemat.cpp.

◆ MultADBt()

void mfem::MultADBt ( const DenseMatrix A,
const Vector D,
const DenseMatrix B,
DenseMatrix ADBt 
)

ADBt = A D B^t, where D is diagonal.

Definition at line 3439 of file densemat.cpp.

◆ MultAtB()

void mfem::MultAtB ( const DenseMatrix A,
const DenseMatrix B,
DenseMatrix AtB 
)

Multiply the transpose of a matrix A with a matrix B: At*B.

Definition at line 3631 of file densemat.cpp.

◆ MultVVt()

void mfem::MultVVt ( const Vector v,
DenseMatrix vvt 
)

Make a matrix from a vector V.Vt.

Definition at line 3727 of file densemat.cpp.

◆ MultVWt()

void mfem::MultVWt ( const Vector v,
const Vector w,
DenseMatrix VWt 
)

Definition at line 3736 of file densemat.cpp.

◆ operator!=()

template<class T >
bool mfem::operator!= ( const Array< T > &  LHS,
const Array< T > &  RHS 
)
inline

Definition at line 282 of file array.hpp.

◆ operator<() [1/4]

template<class A , class B >
bool mfem::operator< ( const Pair< A, B > &  p,
const Pair< A, B > &  q 
)

Comparison operator for class Pair, based on the first element only.

Definition at line 34 of file sort_pairs.hpp.

◆ operator<() [2/4]

template<class A , class B , class C >
bool mfem::operator< ( const Triple< A, B, C > &  p,
const Triple< A, B, C > &  q 
)

Lexicographic comparison operator for class Triple.

Definition at line 65 of file sort_pairs.hpp.

◆ operator<() [3/4]

bool mfem::operator< ( const ParNCMesh::CommGroup lhs,
const ParNCMesh::CommGroup rhs 
)

Definition at line 312 of file pncmesh.cpp.

◆ operator<() [4/4]

bool mfem::operator< ( const NCMesh::MeshId a,
const NCMesh::MeshId b 
)
inline

Definition at line 546 of file pncmesh.hpp.

◆ operator<<() [1/3]

std::ostream & mfem::operator<< ( std::ostream &  out,
const GridFunction sol 
)

Overload operator<< for std::ostream and GridFunction; valid also for the derived class ParGridFunction

Definition at line 2565 of file gridfunc.cpp.

◆ operator<<() [2/3]

std::ostream & mfem::operator<< ( std::ostream &  out,
const QuadratureFunction qf 
)

Overload operator<< for std::ostream and QuadratureFunction.

Definition at line 2613 of file gridfunc.cpp.

◆ operator<<() [3/3]

std::ostream & mfem::operator<< ( std::ostream &  out,
const Mesh mesh 
)

Overload operator<< for std::ostream and Mesh; valid also for the derived class ParMesh

Definition at line 8569 of file mesh.cpp.

◆ operator==() [1/3]

template<class A , class B >
bool mfem::operator== ( const Pair< A, B > &  p,
const Pair< A, B > &  q 
)

Equality operator for class Pair, based on the first element only.

Definition at line 41 of file sort_pairs.hpp.

◆ operator==() [2/3]

template<class T >
bool mfem::operator== ( const Array< T > &  LHS,
const Array< T > &  RHS 
)
inline

Definition at line 273 of file array.hpp.

◆ operator==() [3/3]

bool mfem::operator== ( const NCMesh::MeshId a,
const NCMesh::MeshId b 
)
inline

Definition at line 552 of file pncmesh.hpp.

◆ Ordering::DofsToVDofs< Ordering::byNODES >()

template<>
void mfem::Ordering::DofsToVDofs< Ordering::byNODES > ( int  ndofs,
int  vdim,
Array< int > &  dofs 
)

Definition at line 28 of file fespace.cpp.

◆ Ordering::DofsToVDofs< Ordering::byVDIM >()

template<>
void mfem::Ordering::DofsToVDofs< Ordering::byVDIM > ( int  ndofs,
int  vdim,
Array< int > &  dofs 
)

Definition at line 43 of file fespace.cpp.

◆ Ordering::Map< Ordering::byNODES >()

template<>
int mfem::Ordering::Map< Ordering::byNODES > ( int  ndofs,
int  vdim,
int  dof,
int  vd 
)
inline

Definition at line 48 of file fespace.hpp.

◆ Ordering::Map< Ordering::byVDIM >()

template<>
int mfem::Ordering::Map< Ordering::byVDIM > ( int  ndofs,
int  vdim,
int  dof,
int  vd 
)
inline

Definition at line 55 of file fespace.hpp.

◆ ParAdd()

HypreParMatrix * mfem::ParAdd ( const HypreParMatrix A,
const HypreParMatrix B 
)

Returns the matrix A + B.

It is assumed that both matrices use the same row and column partitions and the same col_map_offd arrays.

Definition at line 1549 of file hypre.cpp.

◆ ParCSRRelax_FIR()

int mfem::ParCSRRelax_FIR ( hypre_ParCSRMatrix *  A,
hypre_ParVector *  f,
double  max_eig,
int  poly_order,
double *  fir_coeffs,
hypre_ParVector *  u,
hypre_ParVector *  x0,
hypre_ParVector *  x1,
hypre_ParVector *  x2,
hypre_ParVector *  x3 
)

Definition at line 1699 of file hypre.cpp.

◆ ParCSRRelax_Taubin()

int mfem::ParCSRRelax_Taubin ( hypre_ParCSRMatrix *  A,
hypre_ParVector *  f,
double  lambda,
double  mu,
int  N,
double  max_eig,
hypre_ParVector *  u,
hypre_ParVector *  r 
)

Definition at line 1662 of file hypre.cpp.

◆ ParMult()

HypreParMatrix * mfem::ParMult ( const HypreParMatrix A,
const HypreParMatrix B 
)

Returns the matrix A * B.

Definition at line 1538 of file hypre.cpp.

◆ ParNormlp()

double mfem::ParNormlp ( const Vector vec,
double  p,
MPI_Comm  comm 
)

Compute the l_p norm of the Vector which is split without overlap across the given communicator.

Definition at line 263 of file hypre.cpp.

◆ parseArray()

void mfem::parseArray ( char *  str,
Array< int > &  var 
)

Definition at line 116 of file optparser.cpp.

◆ parseVector()

void mfem::parseVector ( char *  str,
Vector var 
)

Definition at line 127 of file optparser.cpp.

◆ PCG()

void mfem::PCG ( const Operator A,
Solver B,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
double  RTOLERANCE,
double  ATOLERANCE 
)

Preconditioned conjugate gradient method. (tolerances are squared)

Definition at line 457 of file solvers.cpp.

◆ RAP() [1/7]

PetscParMatrix * mfem::RAP ( PetscParMatrix Rt,
PetscParMatrix A,
PetscParMatrix P 
)

Returns the matrix Rt^t * A * P.

Definition at line 1098 of file petsc.cpp.

◆ RAP() [2/7]

PetscParMatrix * mfem::RAP ( PetscParMatrix A,
PetscParMatrix P 
)

Returns the matrix P^t * A * P.

Definition at line 1195 of file petsc.cpp.

◆ RAP() [3/7]

HypreParMatrix * mfem::RAP ( const HypreParMatrix A,
const HypreParMatrix P 
)

Returns the matrix P^t * A * P.

Definition at line 1558 of file hypre.cpp.

◆ RAP() [4/7]

HypreParMatrix * mfem::RAP ( const HypreParMatrix Rt,
const HypreParMatrix A,
const HypreParMatrix P 
)

Returns the matrix Rt^t * A * P.

Definition at line 1581 of file hypre.cpp.

◆ RAP() [5/7]

DenseMatrix * mfem::RAP ( const SparseMatrix A,
DenseMatrix P 
)

RAP matrix product (with R=P^T)

Definition at line 3100 of file sparsemat.cpp.

◆ RAP() [6/7]

SparseMatrix * mfem::RAP ( const SparseMatrix A,
const SparseMatrix R,
SparseMatrix ORAP = NULL 
)

RAP matrix product (with P=R^T). ORAP is like OAB above. All matrices must be finalized.

Definition at line 3110 of file sparsemat.cpp.

◆ RAP() [7/7]

SparseMatrix * mfem::RAP ( const SparseMatrix Rt,
const SparseMatrix A,
const SparseMatrix P 
)

General RAP with given R^T, A and P.

Definition at line 3121 of file sparsemat.cpp.

◆ Reduce3S()

int mfem::Reduce3S ( const int &  mode,
double &  d1,
double &  d2,
double &  d3,
double &  d12,
double &  d13,
double &  d23,
double &  z1,
double &  z2,
double &  z3,
double &  v1,
double &  v2,
double &  v3,
double &  g 
)
inline

Definition at line 1616 of file densemat.cpp.

◆ ReorderRanksZCurve()

MPI_Comm mfem::ReorderRanksZCurve ( MPI_Comm  comm)

Reorder MPI ranks to follow the Z-curve within the physical machine topology (provided that functions to query physical node coordinates are available). Returns a new communicator with reordered ranks.

Definition at line 1296 of file communication.cpp.

◆ Revolve3D()

NURBSPatch* mfem::Revolve3D ( NURBSPatch patch,
double  n[],
double  ang,
int  times 
)

Definition at line 1120 of file nurbs.cpp.

◆ set_error_action()

void mfem::set_error_action ( ErrorAction  action)

Set the action MFEM takes when an error is encountered.

Definition at line 49 of file error.cpp.

◆ SetGlobalMPI_Comm()

void mfem::SetGlobalMPI_Comm ( MPI_Comm  comm)

Set MFEM's "global" MPI communicator.

Definition at line 44 of file globals.cpp.

◆ skip_comment_lines()

void mfem::skip_comment_lines ( std::istream &  is,
const char  comment_char 
)
inline

Definition at line 27 of file text.hpp.

◆ SLI() [1/2]

void mfem::SLI ( const Operator A,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
double  RTOLERANCE,
double  ATOLERANCE 
)

Stationary linear iteration. (tolerances are squared)

Definition at line 260 of file solvers.cpp.

◆ SLI() [2/2]

void mfem::SLI ( const Operator A,
Solver B,
const Vector b,
Vector x,
int  print_iter,
int  max_num_iter,
double  RTOLERANCE,
double  ATOLERANCE 
)

Preconditioned stationary linear iteration. (tolerances are squared)

Definition at line 273 of file solvers.cpp.

◆ sMult_AB()

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::sMult_AB ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 29 of file tmatrix.hpp.

◆ Sort3()

void mfem::Sort3 ( int &  r,
int &  c,
int &  f 
)
inline

Definition at line 34 of file stable3d.cpp.

◆ SortPairs()

template<class A , class B >
void mfem::SortPairs ( Pair< A, B > *  pairs,
int  size 
)

Sort an array of Pairs with respect to the first element.

Definition at line 48 of file sort_pairs.hpp.

◆ SortTriple()

template<class A , class B , class C >
void mfem::SortTriple ( Triple< A, B, C > *  triples,
int  size 
)

Lexicographic sort for arrays of class Triple.

Definition at line 74 of file sort_pairs.hpp.

◆ SparseMatrixFunction()

void mfem::SparseMatrixFunction ( SparseMatrix S,
double(*)(double)  f 
)

Applies f() to each element of the matrix (after it is finalized).

Definition at line 2722 of file sparsemat.cpp.

◆ subtract() [1/2]

void mfem::subtract ( const Vector x,
const Vector y,
Vector z 
)

Definition at line 386 of file vector.cpp.

◆ subtract() [2/2]

void mfem::subtract ( const double  a,
const Vector x,
const Vector y,
Vector z 
)

Definition at line 408 of file vector.cpp.

◆ Swap() [1/3]

template<class T >
void mfem::Swap ( Array< T > &  a,
Array< T > &  b 
)
inline

Definition at line 560 of file array.hpp.

◆ Swap() [2/3]

template<class T >
void mfem::Swap ( Array2D< T > &  a,
Array2D< T > &  b 
)
inline

Definition at line 810 of file array.hpp.

◆ Swap() [3/3]

template<class T >
void mfem::Swap ( T &  a,
T &  b 
)
inline

inlines ///

Definition at line 552 of file array.hpp.

◆ Swap< SparseMatrix >()

template<>
void mfem::Swap< SparseMatrix > ( SparseMatrix a,
SparseMatrix b 
)
inline

Specialization of the template function Swap<> for class SparseMatrix.

Definition at line 627 of file sparsemat.hpp.

◆ Swap< Table >()

template<>
void mfem::Swap< Table > ( Table a,
Table b 
)
inline

Specialization of the template function Swap<> for class Table.

Definition at line 168 of file table.hpp.

◆ Swap< Vector >()

template<>
void mfem::Swap< Vector > ( Vector a,
Vector b 
)
inline

Specialization of the template function Swap<> for class Vector.

Definition at line 381 of file vector.hpp.

◆ TAdjDet()

template<typename scalar_t , typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
scalar_t mfem::TAdjDet ( const A_layout_t &  a,
const A_data_t &  A,
const B_layout_t &  b,
B_data_t &  B 
)
inline

Definition at line 520 of file tmatrix.hpp.

◆ TAdjugate()

template<typename scalar_t , typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
void mfem::TAdjugate ( const A_layout_t &  a,
const A_data_t &  A,
const B_layout_t &  b,
B_data_t &  B 
)
inline

Definition at line 506 of file tmatrix.hpp.

◆ TAssign() [1/2]

template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename scalar_t >
void mfem::TAssign ( const A_layout_t &  A_layout,
A_data_t &  A_data,
scalar_t  value 
)
inline

Definition at line 219 of file ttensor.hpp.

◆ TAssign() [2/2]

template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t >
void mfem::TAssign ( const A_layout_t &  A_layout,
A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data 
)
inline

Definition at line 232 of file ttensor.hpp.

◆ TDet() [1/2]

template<typename scalar_t , typename layout_t , typename data_t >
scalar_t mfem::TDet ( const layout_t &  a,
const data_t &  A 
)
inline

Definition at line 474 of file tmatrix.hpp.

◆ TDet() [2/2]

template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename D_data_t >
void mfem::TDet ( const A_layout_t &  a,
const A_data_t &  A,
D_data_t &  D 
)
inline

Definition at line 490 of file tmatrix.hpp.

◆ TensorAssemble() [1/2]

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::TensorAssemble ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
C_data_t &  C_data 
)
inline

Definition at line 432 of file ttensor.hpp.

◆ TensorAssemble() [2/2]

template<bool Add, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t , typename D_layout_t , typename D_data_t >
MFEM_ALWAYS_INLINE void mfem::TensorAssemble ( const A_layout_t &  A_layout,
const A_data_t &  A_data,
const B_layout_t &  B_layout,
const B_data_t &  B_data,
const C_layout_t &  C_layout,
const C_data_t &  C_data,
const D_layout_t &  D_layout,
D_data_t &  D_data 
)
inline

Definition at line 507 of file ttensor.hpp.

◆ TensorProduct()

template<AssignOp::Type Op, typename A_layout_t , typename A_data_t , typename B_layout_t , typename B_data_t , typename C_layout_t , typename C_data_t >
MFEM_ALWAYS_INLINE void mfem::TensorProduct ( const A_layout_t &  a,
const A_data_t &  A,
const B_layout_t &  b,
const B_data_t &  B,
const C_layout_t &  c,
C_data_t &  C 
)
inline

Definition at line 598 of file ttensor.hpp.

◆ tic()

void mfem::tic ( )

Start timing.

Definition at line 449 of file tic_toc.cpp.

◆ to_int()

int mfem::to_int ( const std::string &  str)
inline

Definition at line 70 of file text.hpp.

◆ to_padded_string()

std::string mfem::to_padded_string ( int  i,
int  digits 
)
inline

Definition at line 62 of file text.hpp.

◆ to_string()

std::string mfem::to_string ( int  i)
inline

Definition at line 50 of file text.hpp.

◆ toc()

double mfem::toc ( )

End timing.

Definition at line 455 of file tic_toc.cpp.

◆ Transpose() [1/5]

void mfem::Transpose ( const Table A,
Table At,
int  _ncols_A 
)

Transpose a Table.

Definition at line 418 of file table.cpp.

◆ Transpose() [2/5]

Table * mfem::Transpose ( const Table A)

Definition at line 456 of file table.cpp.

◆ Transpose() [3/5]

void mfem::Transpose ( const Array< int > &  A,
Table At,
int  _ncols_A 
)

Transpose an Array<int>

Definition at line 463 of file table.cpp.

◆ Transpose() [4/5]

BlockMatrix * mfem::Transpose ( const BlockMatrix A)

Transpose a BlockMatrix: result = A'.

Definition at line 559 of file blockmatrix.cpp.

◆ Transpose() [5/5]

SparseMatrix * mfem::Transpose ( const SparseMatrix A)

Transpose of a sparse matrix. A must be finalized.

Definition at line 2733 of file sparsemat.cpp.

◆ TransposeAbstractSparseMatrix()

SparseMatrix * mfem::TransposeAbstractSparseMatrix ( const AbstractSparseMatrix A,
int  useActualWidth 
)

Transpose of a sparse matrix. A does not need to be a CSR matrix.

Definition at line 2787 of file sparsemat.cpp.

◆ Update()

void mfem::Update ( Vector x,
int  k,
DenseMatrix h,
Vector s,
Array< Vector *> &  v 
)
inline

Definition at line 501 of file solvers.cpp.

◆ vec_normalize3()

void mfem::vec_normalize3 ( const double &  x1,
const double &  x2,
const double &  x3,
double &  n1,
double &  n2,
double &  n3 
)
inline

Definition at line 1213 of file densemat.cpp.

◆ vec_normalize3_aux()

void mfem::vec_normalize3_aux ( const double &  x1,
const double &  x2,
const double &  x3,
double &  n1,
double &  n2,
double &  n3 
)
inline

Definition at line 1196 of file densemat.cpp.

◆ XYZ_VectorFunction()

void mfem::XYZ_VectorFunction ( const Vector p,
Vector v 
)

Definition at line 3301 of file mesh.cpp.

◆ ZZErrorEstimator()

double mfem::ZZErrorEstimator ( BilinearFormIntegrator blfi,
GridFunction u,
GridFunction flux,
Vector error_estimates,
Array< int > *  aniso_flags,
int  with_subdomains 
)

Definition at line 2620 of file gridfunc.cpp.

Variable Documentation

◆ err

OutStream mfem::err

Global stream used by the library for standard error output. Initially it uses the same std::streambuf as std::cerr, however that can be changed.

See also
OutStream.

Definition at line 69 of file globals.hpp.

◆ Geometries

Geometry mfem::Geometries

Definition at line 760 of file geom.cpp.

◆ GlobGeometryRefiner

GeometryRefiner mfem::GlobGeometryRefiner

Definition at line 1202 of file geom.cpp.

◆ HexahedronFE

TriLinear3DFiniteElement mfem::HexahedronFE

Definition at line 52 of file hexahedron.cpp.

◆ IntRules

IntegrationRules mfem::IntRules

A global object with all integration rules (defined in intrules.cpp)

Definition at line 353 of file intrules.hpp.

◆ MFEM_COMM_WORLD

MPI_Comm mfem::MFEM_COMM_WORLD = MPI_COMM_WORLD

Definition at line 37 of file globals.cpp.

◆ out

OutStream mfem::out

Global stream used by the library for standard output. Initially it uses the same std::streambuf as std::cout, however that can be changed.

See also
OutStream.

Definition at line 64 of file globals.hpp.

◆ PointFE

PointFiniteElement mfem::PointFE

Definition at line 30 of file point.cpp.

◆ poly1d

Poly_1D mfem::poly1d

Definition at line 6672 of file fe.cpp.

◆ QuadrilateralFE

BiLinear2DFiniteElement mfem::QuadrilateralFE

Definition at line 55 of file quadrilateral.cpp.

◆ RefinedIntRules

IntegrationRules mfem::RefinedIntRules

A global object with all refined integration rules.

Definition at line 356 of file intrules.hpp.

◆ SegmentFE

Linear1DFiniteElement mfem::SegmentFE

Definition at line 49 of file segment.cpp.

◆ TetrahedronFE

Linear3DFiniteElement mfem::TetrahedronFE

Definition at line 344 of file tetrahedron.cpp.

◆ tic_toc

StopWatch mfem::tic_toc

Definition at line 447 of file tic_toc.cpp.

◆ TriangleFE

Linear2DFiniteElement mfem::TriangleFE

Definition at line 198 of file triangle.cpp.