1: /*
2: Private data structure for Chebyshev Iteration
3: */
8: typedef struct {
9: PetscReal emin,emax; /* store user provided estimates of extreme eigenvalues */
10: KSP kspest; /* KSP used to estimate eigenvalues */
11: PetscReal tform[4]; /* transform from Krylov estimates to Chebyshev bounds */
12: PetscObjectId amatid, pmatid;
13: PetscObjectState amatstate, pmatstate;
14: PetscInt eststeps; /* number of est steps in KSP used to estimate eigenvalues */
15: PetscRandom random;
16: } KSP_Chebyshev;
18: #endif