xref: /petsc/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.h (revision 08353126c439ca8c9689b16603ff6af5008ad92b)
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