1: #ifndef __TAO_PGD_H 4: #include <petsc/private/taoimpl.h> 6: typedef struct { 7: Vec unprojected_gradient; 8: PetscReal stepsize; 9: PetscReal f; 10: PetscReal gnorm; 11: } TAO_PGD; 13: #endif