:orphan: # TSTrajectoryView Prints information about the trajectory object ## Synopsis ``` #include "petscts.h" PetscErrorCode TSTrajectoryView(TSTrajectory tj, PetscViewer viewer) ``` Collective ## Input Parameters - ***tj -*** the `TSTrajectory` context obtained from `TSTrajectoryCreate()` - ***viewer -*** visualization context ## Options Database Key - ***-ts_trajectory_view -*** calls `TSTrajectoryView()` at end of `TSAdjointStep()` ## Notes The available visualization contexts include - ***`PETSC_VIEWER_STDOUT_SELF` -*** standard output (default) - ***`PETSC_VIEWER_STDOUT_WORLD` -*** synchronized standard output where only the first processor opens the file. All other processors send their data to the first processor to print. The user can open an alternative visualization context with `PetscViewerASCIIOpen()` - output to a specified file. ## See Also [](ch_ts), `TS`, `TSTrajectory`, `PetscViewer`, `PetscViewerASCIIOpen()` ## Level developer ## Location src/ts/trajectory/interface/traj.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/trajectory/interface/traj.c) [Index of all TS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)