MFEM  v4.6.0
Finite element discretization library
Classes | Namespaces | Typedefs | Functions
petsc.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::PetscMemory
 Wrapper for syncing PETSc's vector memory. More...
 
class  mfem::PetscParVector
 
class  mfem::PetscParMatrix
 Wrapper for PETSc's matrix class. More...
 
class  mfem::PetscBCHandler
 Helper class for handling essential boundary conditions. More...
 
class  mfem::PetscPreconditionerFactory
 
class  mfem::PetscSolver
 Abstract class for PETSc's solvers. More...
 
class  mfem::PetscLinearSolver
 Abstract class for PETSc's linear solvers. More...
 
class  mfem::PetscPCGSolver
 
class  mfem::PetscPreconditioner
 Abstract class for PETSc's preconditioners. More...
 
class  mfem::PetscBDDCSolverParams
 Auxiliary class for BDDC customization. More...
 
class  mfem::PetscBDDCSolver
 
class  mfem::PetscFieldSplitSolver
 
class  mfem::PetscH2Solver
 
class  mfem::PetscNonlinearSolver
 Abstract class for PETSc's nonlinear solvers. More...
 
class  mfem::PetscODESolver
 Abstract class for PETSc's ODE solvers. More...
 
class  mfem::PetscSolverMonitor
 Abstract class for monitoring PETSc's solvers. More...
 

Namespaces

 mfem
 
 mfem::petsc
 

Typedefs

typedef HYPRE_Int PetscInt
 
typedef double PetscScalar
 
typedef double PetscReal
 
typedef int PetscClassId
 
typedef struct _p_PetscObject * PetscObject
 
typedef struct ::_p_Vec * mfem::petsc::Vec
 
typedef struct ::_p_Mat * mfem::petsc::Mat
 
typedef struct ::_p_KSP * mfem::petsc::KSP
 
typedef struct ::_p_PC * mfem::petsc::PC
 
typedef struct ::_p_SNES * mfem::petsc::SNES
 
typedef struct ::_p_TS * mfem::petsc::TS
 

Functions

void mfem::MFEMInitializePetsc ()
 Convenience functions to initialize/finalize PETSc. More...
 
void mfem::MFEMInitializePetsc (int *argc, char ***argv)
 
void mfem::MFEMInitializePetsc (int *argc, char ***argv, const char rc_file[], const char help[])
 
void mfem::MFEMFinalizePetsc ()
 
PetscParMatrix * mfem::ParMult (const PetscParMatrix *A, const PetscParMatrix *B)
 Returns the matrix A * B. More...
 
PetscParMatrix * mfem::RAP (PetscParMatrix *Rt, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix Rt^t * A * P. More...
 
PetscParMatrix * mfem::TripleMatrixProduct (PetscParMatrix *R, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix R * A * P. More...
 
PetscParMatrix * mfem::RAP (PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix P^t * A * P. More...
 
PetscParMatrix * mfem::RAP (HypreParMatrix *A, PetscParMatrix *P)
 Returns the matrix P^t * A * P. More...
 
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. More...
 

Typedef Documentation

◆ PetscClassId

typedef int PetscClassId

Definition at line 50 of file petsc.hpp.

◆ PetscInt

typedef HYPRE_Int PetscInt

Definition at line 47 of file petsc.hpp.

◆ PetscObject

typedef struct _p_PetscObject* PetscObject

Definition at line 51 of file petsc.hpp.

◆ PetscReal

typedef double PetscReal

Definition at line 49 of file petsc.hpp.

◆ PetscScalar

typedef double PetscScalar

Definition at line 48 of file petsc.hpp.