Actual source code: lcdimpl.h


  2: /*
  3:     Private Krylov Context Structure (KSP) for LCD

  5:     This one is very simple. It contains a flag indicating the symmetry
  6:    structure of the matrix and work space for (optionally) computing
  7:    eigenvalues.

  9: */

 11: #ifndef __LCDIMPL_H

 14: /*
 15:         Defines the basic KSP object
 16: */
 17: #include <petsc/private/kspimpl.h>

 19: typedef struct {
 20:   PetscInt  restart;
 21:   PetscInt  max_iters;
 22:   PetscReal haptol;
 23:   Vec      *P;
 24:   Vec      *Q;
 25: } KSP_LCD;

 27: #endif