1: /*
  2:     Private Krylov Context Structure (KSP) for LCD
  4:     This one is very simple. It contains a flag indicating the symmetry
  5:    structure of the matrix and work space for (optionally) computing
  6:    eigenvalues.
  8: */
 10: #pragma once
 12: /*
 13:         Defines the basic KSP object
 14: */
 15: #include <petsc/private/kspimpl.h>
 17: typedef struct {
 18:   PetscInt  restart;
 19:   PetscInt  max_iters;
 20:   PetscReal haptol;
 21:   Vec      *P;
 22:   Vec      *Q;
 23: } KSP_LCD;