Auxiliary variables for calling Arpack functions.
More...
#include <BandArpackSolver.h>
|
| ArpackAuxVars (int n, int ncv, int nev, int maxitr, int mode) |
| Constructor. More...
|
|
int | dsaupd (int &ido, const int &n, const std::string &which, const int &nev, const double &tol, const int &ncv, int &info) |
| Reverse communication interface for the Implicitly Restarted Arnoldi Iteration. More...
|
|
|
int | ldv |
|
int | lworkl |
| at least NCV**2+8*NCV
|
|
std::vector< double > | v |
| Lanczos basis vectors.
|
|
std::vector< double > | workl |
| Private (replicated) array of each PE or array allocated on the front end.
|
|
std::vector< double > | workd |
| Reverse communication.
|
|
Vector | d |
|
Vector | z |
|
std::vector< double > | resid |
| residual vector.
|
|
int | iparam [11] |
| Method for selecting the implicit shifts.
|
|
int | ipntr [11] |
| Pointer to mark the starter location in the workd and workl arrays for matrices/vectors used by the Lanczos iteration.
|
|
std::vector< long int > | select |
|
const char | bmat = 'G' |
| 'G': generalized eigenvalue problem A*x= lambda*B*x
|
|
const char | howmy = 'A' |
|
Auxiliary variables for calling Arpack functions.
◆ ArpackAuxVars()
XC::ArpackAuxVars::ArpackAuxVars |
( |
int |
n, |
|
|
int |
ncv, |
|
|
int |
nev, |
|
|
int |
maxitr, |
|
|
int |
mode |
|
) |
| |
Constructor.
- Parameters
-
n | dimension of the eigenproblem |
ncv | number of columns of the matrix v (<=n) t. This will indicate how many Lanczos vectors are generated at each iteration (see Arpack manual). |
nev | number of eigenvalues to be computed. |
maxitr | maximum number of iterations. |
mode | type of eigenproblem to be solved (see dsaupd description in Arpack manual). |
◆ dsaupd()
int XC::ArpackAuxVars::dsaupd |
( |
int & |
ido, |
|
|
const int & |
n, |
|
|
const std::string & |
which, |
|
|
const int & |
nev, |
|
|
const double & |
tol, |
|
|
const int & |
ncv, |
|
|
int & |
info |
|
) |
| |
Reverse communication interface for the Implicitly Restarted Arnoldi Iteration.
- Parameters
-
ido | Reverse communication flag |
n | dimension of the eigenproblem |
nev | number of eigenvalues to be computed. |
tol | Stopping criterion: the relative accuracy of the Ritz value is considered acceptable if BOUNDS(I)<=TOL*ABS(RITZ(I)). If tol<0. is passed a default is set: |
ncv | number of columns of the matrix v (<=n) t. This will ndicate how many Lanczos vectors are generated at each iteration (see Arpack manual). |
info | On input: see Arpack manual. On output: error flag (if any). |
The documentation for this struct was generated from the following files:
- src/solution/system_of_eqn/eigenSOE/BandArpackSolver.h
- src/solution/system_of_eqn/eigenSOE/BandArpackSolver.cpp