11 #include "dolfinx/common/MPI.h"
20 class VectorSpaceBasis;
25 class SLEPcEigenSolver
29 explicit SLEPcEigenSolver(MPI_Comm comm);
32 SLEPcEigenSolver(EPS eps,
bool inc_ref_count);
35 SLEPcEigenSolver(
const SLEPcEigenSolver&) =
delete;
38 SLEPcEigenSolver(SLEPcEigenSolver&& solver);
44 SLEPcEigenSolver& operator=(
const SLEPcEigenSolver&) =
delete;
47 SLEPcEigenSolver& operator=(SLEPcEigenSolver&& solver);
51 void set_operators(
const Mat A,
const Mat B);
57 void solve(std::int64_t n);
60 std::complex<PetscReal> get_eigenvalue(
int i)
const;
63 void get_eigenpair(PetscScalar& lr, PetscScalar& lc, Vec r, Vec c,
67 int get_iteration_number()
const;
70 std::int64_t get_number_converged()
const;
74 void set_options_prefix(std::string options_prefix);
78 std::string get_options_prefix()
const;
81 void set_from_options()
const;
87 MPI_Comm mpi_comm()
const;
Linear algebra interface.
Definition: sparsitybuild.h:13