15#ifdef DEAL_II_WITH_SLEPC
19# include <petscversion.h>
27#ifdef DEAL_II_WITH_SLEPC
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);
63 const double shift_parameter)
64 : shift_parameter(shift_parameter)
72 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSHIFT));
82 const double shift_parameter)
83 : shift_parameter(shift_parameter)
92 PetscErrorCode ierr = STSetType(
st,
const_cast<char *
>(STSINVERT));
102 const double shift_parameter,
103 const double antishift_parameter)
104 : shift_parameter(shift_parameter)
105 , antishift_parameter(antishift_parameter)
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)
std::vector< index_type > data