xref: /petsc/src/tao/leastsquares/impls/brgn/brgn.h (revision e4a140f64c158adb081b5fedb2e28ce512b5f182)
1 /*
2 Context for Bounded Regularized Gauss-Newton algorithm
3 */
4 
5 #if !defined(__TAO_BRGN_H)
6 #define __TAO_BRGN_H
7 
8 #include <../src/tao/bound/impls/bnk/bnk.h>
9 
10 typedef struct {
11   Mat J, H;
12   Vec x_old, x_work, r_work;
13   Tao subsolver, parent;
14   PetscReal lambda;
15 } TAO_BRGN;
16 
17 #endif /* if !defined(__TAO_BRGN_H) */
18