Actual source code: blmvm.h

petsc-3.14.6 2021-03-30
Report Typos and Errors
  1: /*
  2:   Private data structure used for blmvm method.
  3: */


  8: #include <petsc/private/taoimpl.h>

 10: /*
 11:  Context for limited memory variable metric method for bound constrained
 12:  optimization.
 13: */
 14: typedef struct {
 15:   Mat M;

 17:   Vec unprojected_gradient;
 18:   Vec Xold;
 19:   Vec Gold;

 21:   PetscInt n_free;
 22:   PetscInt n_bind;

 24:   PetscInt grad;
 25:   PetscInt reset;
 26:   Mat      H0;

 28:   PetscBool recycle;
 29: } TAO_BLMVM;

 31: #endif  /* if !defined(__TAO_BLMVM_H) */