xref: /petsc/src/tao/linesearch/impls/morethuente/morethuente.h (revision 37eeb8152ec6a2cf24186d3591c2c5de5dfd8fa5)
1 #ifndef __TAOLINESEARCH_MORETHUENTE_H
2 #define __TAOLINESEARCH_MORETHUENTE_H
3 
4 typedef struct {
5   PetscInt    bracket;
6   PetscInt    infoc;
7   PetscReal initstep;
8   Vec x; /* used to see if work needs to be reformed */
9   Vec work;
10 
11   PetscReal stx, fx, dgx;
12   PetscReal sty, fy, dgy;
13 
14 } TaoLineSearch_MT;
15 
16 #endif
17