Actual source code: qcgimpl.h

  1: /*
  2:     Context for using preconditioned CG to minimize a quadratic function
  3:  */

  5: #ifndef PETSC_QCGIMPL_H
  6: #define PETSC_QCGIMPL_H

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

 10: typedef struct {
 11:   PetscReal quadratic;
 12:   PetscReal ltsnrm;
 13:   PetscReal delta;
 14: } KSP_QCG;

 16: #endif // PETSC_QCGIMPL_H