xref: /petsc/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.h (revision 85f9fe2e472e494f624e07331fb0f6081bef5d80)
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_CTX;
19 
20 
21 #endif
22