1: /* 2: Private data structure for Richardson Iteration 3: */ 8: typedef struct { 9: PetscReal scale; /* scaling on preconditioner */ 10: PetscBool selfscale; /* determine optimimal scaling each iteration to minimize 2-norm of resulting residual */ 11: } KSP_Richardson; 13: #endif