#include "petscts.h" PetscErrorCode TSTrajectoryGetVecs(TSTrajectory tj,TS ts,PetscInt stepnum,PetscReal *time,Vec U,Vec Udot)Collective on TS
| tj | - the trajectory object | |
| ts | - the time stepper object (optional) | |
| stepnum | - the requested step number |
| time | - the time associated with the step number |
| U | - state vector (can be NULL) | |
| Udot | - time derivative of state vector (can be NULL) |
Notes: If the step number is PETSC_DECIDE, the time argument is used to inquire the trajectory. If the requested time does not match any in the trajectory, Lagrangian interpolations are returned.