xref: /petsc/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.h (revision 58d68138c660dfb4e9f5b03334792cd4f2ffd7cc)
1 #ifndef __TAO_GPCGLINESEARCH_H
2 #define __TAO_GPCGLINESEARCH_H
3 
4 #include <petscvec.h>
5 
6 typedef struct {
7   /* --------------- Parameters used by line search method ----------------- */
8   PetscReal maxstep; /* maximum step size */
9   PetscInt  bracket;
10   PetscInt  infoc;
11 
12   Vec x;
13   Vec W1;
14   Vec W2;
15   Vec Gold;
16 
17 } TaoLineSearch_GPCG;
18 
19 #endif
20