xref: /petsc/src/tao/linesearch/impls/morethuente/morethuente.h (revision 071fcb05f2a6aea8aef2c2090580530b9e9df77e)
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