Actual source code: lmvm.h

petsc-3.6.4 2016-04-12
Report Typos and Errors
  1: /*
  2:  Context for limited memory variable metric method for unconstrained
  3:  optimization.
  4: */

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

 10: typedef struct {
 11:   Mat M;

 13:   Vec X;
 14:   Vec G;
 15:   Vec D;
 16:   Vec W;

 18:   Vec Xold;
 19:   Vec Gold;

 21:   PetscInt bfgs;
 22:   PetscInt sgrad;
 23:   PetscInt grad;
 24: } TAO_LMVM;

 26: #endif /* ifndef __TAO_LMVM_H */