MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
petsc.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mfem
 

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