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);
64 const double shift_parameter)
65 : shift_parameter(shift_parameter)
73 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSHIFT));
83 const double shift_parameter)
84 : shift_parameter(shift_parameter)
93 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSINVERT));
103 const double shift_parameter,
104 const double antishift_parameter)
105 : shift_parameter(shift_parameter)
106 , antishift_parameter(antishift_parameter)
114 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)
std::vector< index_type > data