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