MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Namespaces | Enumerations | Functions
hypre.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::Hypre
 A simple singleton class for hypre's global settings, that 1) calls HYPRE_Init() and sets some GPU-relevant options at construction and 2) calls HYPRE_Finalize() at destruction. More...
 
class  mfem::HypreParVector
 Wrapper for hypre's parallel vector class. More...
 
class  mfem::HypreParMatrix
 Wrapper for hypre's ParCSR matrix class. More...
 
class  mfem::HypreSmoother
 Parallel smoothers in hypre. More...
 
class  mfem::HypreSolver
 Abstract class for hypre's solvers and preconditioners. More...
 
class  mfem::HypreTriSolve
 
class  mfem::HyprePCG
 PCG solver in hypre. More...
 
class  mfem::HypreGMRES
 GMRES solver in hypre. More...
 
class  mfem::HypreFGMRES
 Flexible GMRES solver in hypre. More...
 
class  mfem::HypreIdentity
 The identity operator as a hypre solver. More...
 
class  mfem::HypreDiagScale
 Jacobi preconditioner in hypre. More...
 
class  mfem::HypreParaSails
 The ParaSails preconditioner in hypre. More...
 
class  mfem::HypreEuclid
 
class  mfem::HypreILU
 Wrapper for Hypre's native parallel ILU preconditioner. More...
 
class  mfem::HypreBoomerAMG
 The BoomerAMG solver in hypre. More...
 
class  mfem::HypreAMS
 The Auxiliary-space Maxwell Solver in hypre. More...
 
class  mfem::HypreADS
 The Auxiliary-space Divergence Solver in hypre. More...
 
class  mfem::HypreLOBPCG
 
class  mfem::HypreAME
 

Namespaces

 mfem
 

Enumerations

enum  mfem::BlockInverseScaleJob { mfem::BlockInverseScaleJob::MATRIX_ONLY, mfem::BlockInverseScaleJob::RHS_ONLY, mfem::BlockInverseScaleJob::MATRIX_AND_RHS }
 

Functions

constexpr MemoryClass mfem::GetHypreMemoryClass ()
 The MemoryClass used by Hypre objects. More...
 
MemoryType mfem::GetHypreMemoryType ()
 The MemoryType used by MFEM when allocating arrays for Hypre objects. More...
 
double mfem::InnerProduct (HypreParVector &x, HypreParVector &y)
 Returns the inner product of x and y. More...
 
double mfem::InnerProduct (HypreParVector *x, HypreParVector *y)
 
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. More...
 
void mfem::BlockInverseScale (const HypreParMatrix *A, HypreParMatrix *C, const Vector *b, HypreParVector *d, int blocksize, BlockInverseScaleJob job)
 
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. More...
 
HypreParMatrix * mfem::ParMult (const HypreParMatrix *A, const HypreParMatrix *B, bool own_matrix)
 
HypreParMatrix * mfem::ParAdd (const HypreParMatrix *A, const HypreParMatrix *B)
 Returns the matrix A + B. More...
 
HypreParMatrix * mfem::RAP (const HypreParMatrix *A, const HypreParMatrix *P)
 Returns the matrix P^t * A * P. More...
 
HypreParMatrix * mfem::RAP (const HypreParMatrix *Rt, const HypreParMatrix *A, const HypreParMatrix *P)
 Returns the matrix Rt^t * A * P. More...
 
HypreParMatrix * mfem::HypreParMatrixFromBlocks (Array2D< HypreParMatrix * > &blocks, Array2D< double > *blockCoeff=NULL)
 Returns a merged hypre matrix constructed from hypre matrix blocks. More...
 
void mfem::EliminateBC (const HypreParMatrix &A, const 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. More...
 
HypreParMatrix * mfem::DiscreteGrad (ParFiniteElementSpace *edge_fespace, ParFiniteElementSpace *vert_fespace)
 Compute the discrete gradient matrix between the nodal linear and ND1 spaces. More...
 
HypreParMatrix * mfem::DiscreteCurl (ParFiniteElementSpace *face_fespace, ParFiniteElementSpace *edge_fespace)
 Compute the discrete curl matrix between the ND1 and RT0 spaces. More...