1 /* 2 Private Krylov Context Structure (KSP) for LCD 3 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. 7 8 */ 9 10 #pragma once 11 12 /* 13 Defines the basic KSP object 14 */ 15 #include <petsc/private/kspimpl.h> 16 17 typedef struct { 18 PetscInt restart; 19 PetscInt max_iters; 20 PetscReal haptol; 21 Vec *P; 22 Vec *Q; 23 } KSP_LCD; 24