Actual source code: bqnk.h

petsc-3.12.5 2020-03-29
Report Typos and Errors
  1: /*
  2: Context for bounded quasi-Newton-Krylov type optimization algorithms
  3: */


  8:  #include <../src/tao/bound/impls/bnk/bnk.h>

 10: typedef struct {
 11:   Mat B;
 12:   PC pc;
 13:   PetscBool is_spd;
 14: } TAO_BQNK;

 16: #define BQNK_INIT_CONSTANT         0
 17: #define BQNK_INIT_DIRECTION        1
 18: #define BQNK_INIT_TYPES            2

 20: PETSC_INTERN PetscErrorCode TaoSetUp_BQNK(Tao);
 21: PETSC_INTERN PetscErrorCode TaoCreate_BQNK(Tao);

 23: #endif /* if !defined(__TAO_BQNK_H) */