MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
petsc.cpp File Reference

Go to the source code of this file.

Namespaces

 mfem
 

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::TripleMatrixProduct (PetscParMatrix *R, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix R * A * P. More...
 
PetscParMatrix * mfem::RAP (PetscParMatrix *Rt, PetscParMatrix *A, PetscParMatrix *P)
 Returns the matrix Rt^t * 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...
 
PetscParMatrix * mfem::ParMult (const PetscParMatrix *A, const PetscParMatrix *B)
 Returns the matrix A * B. 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...