Actual source code: blmvm.h

petsc-3.9.4 2018-09-11
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;
 27: } TAO_BLMVM;

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