11#include "dolfinx/common/MPI.h"
27 explicit SLEPcEigenSolver(MPI_Comm comm);
30 SLEPcEigenSolver(EPS eps,
bool inc_ref_count);
33 SLEPcEigenSolver(
const SLEPcEigenSolver&) =
delete;
36 SLEPcEigenSolver(SLEPcEigenSolver&& solver);
42 SLEPcEigenSolver& operator=(
const SLEPcEigenSolver&) =
delete;
45 SLEPcEigenSolver& operator=(SLEPcEigenSolver&& solver);
49 void set_operators(
const Mat A,
const Mat B);
56 void solve(std::int64_t n);
59 std::complex<PetscReal> get_eigenvalue(
int i)
const;
62 void get_eigenpair(PetscScalar& lr, PetscScalar& lc, Vec r, Vec c,
66 int get_iteration_number()
const;
69 std::int64_t get_number_converged()
const;
73 void set_options_prefix(std::string options_prefix);
77 std::string get_options_prefix()
const;
80 void set_from_options()
const;
86 MPI_Comm comm()
const;
Linear algebra interface.
Definition sparsitybuild.h:15