Actual source code: cgctx.h

  1: /* "$Id: cgctx.h,v 1.10 2000/01/11 21:02:02 bsmith Exp $"; */

  3: /*  
  4:     Private Krylov Context Structure (KSP) for Conjugate Gradient 

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

 10: */


 15: /*
 16:         Defines the basic KSP object
 17: */
 18: #include "src/sles/ksp/kspimpl.h"

 20: /*
 21:     The field should remain the same since it is shared by the BiCG code
 22: */

 24: typedef struct {
 25:   KSPCGType type;                 /* type of system (symmetric or Hermitian) */
 26:   Scalar    emin,emax;           /* eigenvalues */
 27:   Scalar    *e,*d;
 28:   double    *ee,*dd;             /* work space for Lanczos algorithm */
 29: } KSP_CG;

 31: #endif