17#ifdef DEAL_II_WITH_SLEPC
22# include <petscversion.h>
33 const PetscErrorCode ierr = STCreate(mpi_communicator, &
st);
41 const PetscErrorCode ierr = STDestroy(&
st);
49 const PetscErrorCode ierr = STSetMatMode(
st, mode);
56 PetscErrorCode ierr = STSetKSP(
st, solver);
72 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSHIFT));
92 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSINVERT));
113 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STCAYLEY));
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcSLEPcError(int arg1)
#define AssertNothrow(cond, exc)
#define AssertThrow(cond, exc)