MFEM v4.7.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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

namespace  mfem
 
namespace  mfem::petsc
 

Typedefs

typedef HYPRE_Int PetscInt
 
typedef real_t PetscScalar
 
typedef real_t 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.
 
void mfem::MFEMInitializePetsc (int *argc, char ***argv)
 
void mfem::MFEMInitializePetsc (int *argc, char ***argv, const char rc_file[], const char help[])
 
void mfem::MFEMFinalizePetsc ()
 
PetscParMatrixmfem::ParMult (const PetscParMatrix *A, const PetscParMatrix *B)
 Returns the matrix A * B.
 
PetscParMatrixmfem::RAP (PetscParMatrix *Rt, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix Rt^t * A * P.
 
PetscParMatrixmfem::TripleMatrixProduct (PetscParMatrix *R, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix R * A * P.
 
PetscParMatrixmfem::RAP (PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix P^t * A * P.
 
PetscParMatrixmfem::RAP (HypreParMatrix *A, PetscParMatrix *P)
 Returns the matrix P^t * A * P.
 
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.
 

Typedef Documentation

◆ PetscClassId

typedef int PetscClassId

Definition at line 53 of file petsc.hpp.

◆ PetscInt

typedef HYPRE_Int PetscInt

Definition at line 50 of file petsc.hpp.

◆ PetscObject

typedef struct _p_PetscObject* PetscObject

Definition at line 54 of file petsc.hpp.

◆ PetscReal

typedef real_t PetscReal

Definition at line 52 of file petsc.hpp.

◆ PetscScalar

typedef real_t PetscScalar

Definition at line 51 of file petsc.hpp.