Actual source code: gpcglinesearch.h

  1: #ifndef __TAO_GPCGLINESEARCH_H

  4: #include <petscvec.h>

  6: typedef struct {
  7:   /* --------------- Parameters used by line search method ----------------- */
  8:   PetscReal maxstep; /* maximum step size */
  9:   PetscInt  bracket;
 10:   PetscInt  infoc;

 12:   Vec x;
 13:   Vec W1;
 14:   Vec W2;
 15:   Vec Gold;

 17: } TaoLineSearch_GPCG;

 19: #endif