Actual source code: richardsonimpl.h

  1: /*
  2:       Private data structure for Richardson Iteration
  3: */

  5: #ifndef __RICHARDSONIMPL_H

  8: #include <petsc/private/kspimpl.h>

 10: typedef struct {
 11:   PetscReal scale;     /* scaling on preconditioner */
 12:   PetscBool selfscale; /* determine optimimal scaling each iteration to minimize 2-norm of resulting residual */
 13: } KSP_Richardson;

 15: #endif