/*
 Context for limited memory variable metric method for unconstrained
 optimization.
*/

#ifndef __TAO_LMVM_H
#define __TAO_LMVM_H
#include <petsc/private/taoimpl.h>

typedef struct {
  Mat M;

  Vec X;
  Vec G;
  Vec D;
  Vec W;

  Vec Xold;
  Vec Gold;

  PetscInt bfgs;
  PetscInt sgrad;
  PetscInt grad;
} TAO_LMVM;

#endif /* ifndef __TAO_LMVM_H */
