11 #include "GmshConfig.h"
15 #if defined(HAVE_SLEPC)
23 std::vector<std::complex<double> > _eigenValues;
24 std::vector<std::vector<std::complex<double> > > _eigenVectors;
25 void _check(
int ierr)
const;
29 bool hermitian =
true);
31 bool hermitian =
true);
32 bool solve(
int numEigenValues = 0, std::string which =
"",
33 std::string method =
"krylovschur",
double tolVal = 1.e-7,
39 std::complex<double>
getEigenValue(
int num) {
return _eigenValues[num]; }
42 return _eigenVectors[num][com];
46 return _eigenVectors[num];
54 _eigenVectors.clear();
64 std::vector<std::complex<double> >
_dummy;
68 bool hermitian =
false)
72 bool hermitian =
false)
75 bool solve(
int = 0, std::string =
"", std::string =
"",
double = 0,
int = 0)