| Line 44... |
Line 44... |
int max_it, /* maximum number of iterations */
|
int max_it, /* maximum number of iterations */
|
nev, /* number of eigenvalues to compute */
|
nev, /* number of eigenvalues to compute */
|
ncv, /* number of basis vectors */
|
ncv, /* number of basis vectors */
|
nv, /* number of available basis vectors (<= ncv) */
|
nv, /* number of available basis vectors (<= ncv) */
|
allocated_ncv, /* number of basis vectors allocated */
|
allocated_ncv, /* number of basis vectors allocated */
|
niv, /* number of initial vectors */
|
|
nliv, /* number of left initial vectors */
|
|
nds; /* number of basis vectors of deflation space */
|
nds; /* number of basis vectors of deflation space */
|
PetscReal tol; /* tolerance */
|
PetscReal tol; /* tolerance */
|
EPSWhich which; /* which part of the spectrum to be sought */
|
EPSWhich which; /* which part of the spectrum to be sought */
|
PetscTruth evecsavailable, /* computed eigenvectors */
|
PetscTruth evecsavailable; /* computed eigenvectors */
|
useriv, userliv; /* initial vectors provided by the user */
|
|
EPSProblemType problem_type; /* which kind of problem to be solved */
|
EPSProblemType problem_type; /* which kind of problem to be solved */
|
EPSClass solverclass; /* whether the selected solver is one- or two-sided */
|
EPSClass solverclass; /* whether the selected solver is one- or two-sided */
|
|
|
/*------------------------- Working data --------------------------*/
|
/*------------------------- Working data --------------------------*/
|
Vec *V, /* set of basis vectors */
|
Vec vec_initial, /* initial vector */
|
|
vec_initial_left, /* left initial vector for two-sided solvers */
|
|
*V, /* set of basis vectors */
|
*AV, /* computed eigenvectors */
|
*AV, /* computed eigenvectors */
|
*W, /* set of left basis vectors */
|
*W, /* set of left basis vectors */
|
*AW, /* computed left eigenvectors */
|
*AW, /* computed left eigenvectors */
|
*IV, /* initial vectors */
|
|
*LIV, /* left initial vectors */
|
|
*DS, /* deflation space */
|
*DS, /* deflation space */
|
*DSV; /* deflation space and basis vectors*/
|
*DSV; /* deflation space and basis vectors*/
|
PetscScalar *eigr, *eigi, /* real and imaginary parts of eigenvalues */
|
PetscScalar *eigr, *eigi, /* real and imaginary parts of eigenvalues */
|
*T, *Tl; /* projected matrices */
|
*T, *Tl; /* projected matrices */
|
PetscReal *errest, /* error estimates */
|
PetscReal *errest, /* error estimates */
|