xref: /petsc/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.h (revision 77d01c0ab278b77f26a8bf1fd51100c9c7f9d016)
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 #endif
21