# TSTrajectoryView
Prints information about the trajectory object 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSTrajectoryView(TSTrajectory tj, PetscViewer viewer)
```
Collective on TSTrajectory


## 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
 `PetscViewerASCIIOpen()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/trajectory/interface/traj.c.html#TSTrajectoryView">src/ts/trajectory/interface/traj.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
