11 #include "dolfinx/common/MPI.h"
22 class VectorSpaceBasis;
27 class SLEPcEigenSolver
31 explicit SLEPcEigenSolver(MPI_Comm comm);
34 explicit SLEPcEigenSolver(EPS eps,
bool inc_ref_count =
true);
41 void set_operators(
const Mat A,
const Mat B);
47 void solve(std::int64_t n);
50 std::complex<PetscReal> get_eigenvalue(
int i)
const;
53 void get_eigenpair(PetscScalar& lr, PetscScalar& lc, Vec r, Vec c,
57 int get_iteration_number()
const;
60 std::int64_t get_number_converged()
const;
64 void set_options_prefix(std::string options_prefix);
68 std::string get_options_prefix()
const;
71 void set_from_options()
const;
77 MPI_Comm mpi_comm()
const;