11 #include "dolfinx/common/MPI.h"
12 #include "dolfinx/common/types.h"
23 class VectorSpaceBasis;
28 class SLEPcEigenSolver
32 explicit SLEPcEigenSolver(MPI_Comm comm);
35 explicit SLEPcEigenSolver(EPS eps,
bool inc_ref_count =
true);
42 void set_operators(
const Mat A,
const Mat B);
48 void solve(std::int64_t n);
51 std::complex<PetscReal> get_eigenvalue(std::size_t i)
const;
54 void get_eigenpair(PetscScalar& lr, PetscScalar& lc, Vec r, Vec c,
58 std::size_t get_iteration_number()
const;
61 std::size_t get_number_converged()
const;
65 void set_options_prefix(std::string options_prefix);
69 std::string get_options_prefix()
const;
72 void set_from_options()
const;
78 MPI_Comm mpi_comm()
const;