35#ifndef NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_ARPACK_HPP
36#define NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_ARPACK_HPP
49 const char *which,
const int &nev,
const double &tol,
50 double *resid,
const int &ncv,
double *v,
51 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
52 double *workl,
const int &lworkl,
int &info);
55 const char *which,
const int &nev,
const double &tol,
56 double *resid,
const int &ncv,
double *v,
57 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
58 double *workl,
const int &lworkl,
int &info);
61 void F77NAME(
dseupd)(
const int &rvec,
const char *howmny,
const int *select,
62 double *
d,
double *
z,
const int &ldz,
63 const double &sigma,
const char *bmat,
const int &n,
64 const char *which,
const int &nev,
const double &tol,
65 double *resid,
const int &ncv,
double *v,
66 const int &ldv,
const int *iparam,
int *ipntr,
67 const double *workd,
double *workl,
const int &lworkl,
70 void F77NAME(
dneupd)(
const int &rvec,
const char *howmny,
const int *select,
71 double *dr,
double *di,
double *
z,
const int &ldz,
72 const double &sigmar,
const double &sigmai,
73 double *workev,
const char *bmat,
const int &n,
74 const char *which,
const int &nev,
const double &tol,
75 double *resid,
const int &ncv,
double *v,
76 const int &ldv,
int *iparam,
int *ipntr,
double *workd,
77 double *workl,
const int &lworkl,
int &info);
84static inline void Dsaupd(
int &ido,
const char *bmat,
const int &n,
85 const char *which,
const int &nev,
const double &tol,
86 double *resid,
const int &ncv,
double *v,
87 const int &ldv,
int *iparam,
int *ipntr,
88 double *workd,
double *workl,
const int &lworkl,
92 (ido, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, workd,
98static inline void Dseupd(
const int &rvec,
const char *howmny,
99 const int *select,
double *
d,
double *
z,
100 const int &ldz,
const double &sigma,
const char *bmat,
101 const int &n,
const char *which,
const int &nev,
102 const double &tol,
double *resid,
const int &ncv,
103 double *v,
const int &ldv,
int *iparam,
int *ipntr,
104 double *workd,
double *workl,
const int &lworkl,
108 (rvec, howmny, select,
d,
z, ldz, sigma, bmat, n, which, nev, tol, resid,
109 ncv, v, ldv, iparam, ipntr, workd, workl, lworkl, info);
114static inline void Dnaupd(
int &ido,
const char *bmat,
const int &n,
115 const char *which,
const int &nev,
const double &tol,
116 double *resid,
const int &ncv,
double *v,
117 const int &ldv,
int *iparam,
int *ipntr,
118 double *workd,
double *workl,
const int &lworkl,
122 (ido, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, workd,
123 workl, lworkl, info);
128static inline void Dneupd(
const int &rvec,
const char *howmny,
129 const int *select,
double *dr,
double *di,
double *
z,
130 const int &ldz,
const double &sigmar,
131 const double &sigmai,
double *workev,
132 const char *bmat,
const int &n,
const char *which,
133 const int &nev,
const double &tol,
double *resid,
134 const int &ncv,
double *v,
const int &ldv,
135 int *iparam,
int *ipntr,
double *workd,
double *workl,
136 const int &lworkl,
int &info)
139 (rvec, howmny, select, dr, di,
z, ldz, sigmar, sigmai, workev, bmat, n,
140 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)