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