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