1: /* 2: Private data structure for Chebychev 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: PC pcnone; /* Dummy PC to drop in so PCSetFromOptions doesn't get called extra times */ 12: PetscReal tform[4]; /* transform from Krylov estimates to Chebychev bounds */ 13: PetscBool estimate_current; 14: } KSP_Chebychev; 16: #endif