1: #include <../src/ksp/ksp/utils/lmvm/lmvm.h> 3: /* 4: Limited-memory Broyden's method for approximating the inverse of 5: a Jacobian. 6: */ 8: typedef struct { 9: Vec *P, *Q; 10: PetscBool allocated, needP, needQ; 11: PetscReal *yty, *yts; 12: PetscReal *sts, *stq; 13: } Mat_Brdn;