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