#include "petscts.h" PetscErrorCode TSAdjointSetSteps(TS ts,PetscInt steps)
Notes: Normally one does not call this and TSAdjointSolve() integrates back to the original timestep. One can call this so as to integrate back to less than the original timestep