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