1: #ifndef __TAO_GPCGLINESEARCH_H 4: #include <petscvec.h> 6: typedef struct { 8: /* --------------- Parameters used by line search method ----------------- */ 9: PetscReal maxstep; /* maximum step size */ 10: PetscInt bracket; 11: PetscInt infoc; 13: Vec x; 14: Vec W1; 15: Vec W2; 16: Vec Gold; 18: } TaoLineSearch_GPCG; 21: #endif