35#ifndef NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_ARPACK_HPP
36#define NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_ARPACK_HPP
50 const char *which,
const int &nev,
const double &tol,
51 double *resid,
const int &ncv,
double *v,
52 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
53 double *workl,
const int &lworkl,
int &info);
56 const char *which,
const int &nev,
const double &tol,
57 double *resid,
const int &ncv,
double *v,
58 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
59 double *workl,
const int &lworkl,
int &info);
62 void F77NAME(
dseupd)(
const int &rvec,
const char *howmny,
const int *select,
63 double *
d,
double *
z,
const int &ldz,
64 const double &sigma,
const char *bmat,
const int &n,
65 const char *which,
const int &nev,
const double &tol,
66 double *resid,
const int &ncv,
double *v,
67 const int &ldv,
const int *iparam,
int *ipntr,
68 const double *workd,
double *workl,
const int &lworkl,
71 void F77NAME(
dneupd)(
const int &rvec,
const char *howmny,
const int *select,
72 double *dr,
double *di,
double *
z,
const int &ldz,
73 const double &sigmar,
const double &sigmai,
74 double *workev,
const char *bmat,
const int &n,
75 const char *which,
const int &nev,
const double &tol,
76 double *resid,
const int &ncv,
double *v,
77 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
78 double *workl,
const int &lworkl,
int &info);
86static inline void Dsaupd(
int &ido,
const char *bmat,
const int &n,
87 const char *which,
const int &nev,
const double &tol,
88 double *resid,
const int &ncv,
double *v,
89 const int &ldv,
int *iparam,
int *ipntr,
90 double *workd,
double *workl,
const int &lworkl,
94 (ido, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, workd,
100static inline void Dseupd(
const int &rvec,
const char *howmny,
101 const int *select,
double *
d,
double *
z,
102 const int &ldz,
const double &sigma,
const char *bmat,
103 const int &n,
const char *which,
const int &nev,
104 const double &tol,
double *resid,
const int &ncv,
105 double *v,
const int &ldv,
int *iparam,
int *ipntr,
106 double *workd,
double *workl,
const int &lworkl,
110 (rvec, howmny, select,
d,
z, ldz, sigma, bmat, n, which, nev, tol, resid,
111 ncv, v, ldv, iparam, ipntr, workd, workl, lworkl, info);
116static inline void Dnaupd(
int &ido,
const char *bmat,
const int &n,
117 const char *which,
const int &nev,
const double &tol,
118 double *resid,
const int &ncv,
double *v,
119 const int &ldv,
int *iparam,
int *ipntr,
120 double *workd,
double *workl,
const int &lworkl,
124 (ido, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, workd,
125 workl, lworkl, info);
131static inline void Dneupd(
const int &rvec,
const char *howmny,
132 const int *select,
double *dr,
double *di,
double *
z,
133 const int &ldz,
const double &sigmar,
134 const double &sigmai,
double *workev,
135 const char *bmat,
const int &n,
const char *which,
136 const int &nev,
const double &tol,
double *resid,
137 const int &ncv,
double *v,
const int &ldv,
138 int *iparam,
int *ipntr,
double *workd,
double *workl,
139 const int &lworkl,
int &info)
142 (rvec, howmny, select, dr, di,
z, ldz, sigmar, sigmai, workev, bmat, n,
143 which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, workd, workl, lworkl,
#define F77NAME(x)
Fortran routines need an underscore.
void F77NAME() dnaupd(int &ido, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
static void Dnaupd(int &ido, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
Top level reverse communication interface to solve real double-precision non-symmetric problems.
void F77NAME() dneupd(const int &rvec, const char *howmny, const int *select, double *dr, double *di, double *z, const int &ldz, const double &sigmar, const double &sigmai, double *workev, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
void F77NAME() dsaupd(int &ido, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
void F77NAME() dseupd(const int &rvec, const char *howmny, const int *select, double *d, double *z, const int &ldz, const double &sigma, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, const int *iparam, int *ipntr, const double *workd, double *workl, const int &lworkl, int &info)
static void Dneupd(const int &rvec, const char *howmny, const int *select, double *dr, double *di, double *z, const int &ldz, const double &sigmar, const double &sigmai, double *workev, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
Post-processing routine to computed eigenvector of computed eigenvalues in Dnaupd.
static void Dsaupd(int &ido, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
Top level reverse communication interface to solve real double-precision symmetric problems.
static void Dseupd(const int &rvec, const char *howmny, const int *select, double *d, double *z, const int &ldz, const double &sigma, const char *bmat, const int &n, const char *which, const int &nev, const double &tol, double *resid, const int &ncv, double *v, const int &ldv, int *iparam, int *ipntr, double *workd, double *workl, const int &lworkl, int &info)
Post-processing routine to computed eigenvector of computed eigenvalues in Dsaupd.
std::vector< double > z(NPUPPER)
std::vector< double > d(NPUPPER *NPUPPER)