17#ifdef DEAL_II_WITH_SLEPC
22# include <petscversion.h>
33 const PetscErrorCode ierr = STCreate(mpi_communicator, &
st);
41 const PetscErrorCode ierr = STDestroy(&
st);
50 const PetscErrorCode ierr = STSetMatMode(
st, mode);
57 PetscErrorCode ierr = STSetKSP(
st, solver);
73 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSHIFT));
93 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSINVERT));
117 "Folding transformation has been removed in SLEPc 3.5.0 and newer."
118 " You cannot use this transformation anymore."));
135 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STCAYLEY));
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcSLEPcError(int arg1)
#define Assert(cond, exc)
#define AssertNothrow(cond, exc)
static ::ExceptionBase & ExcMessage(std::string arg1)
#define AssertThrow(cond, exc)