Skip to main content
`Ctrl`+`K`

# TSTRAJECTORYVISUALIZATION

Stores each solution of the ODE/DAE in a file Saves each timestep into a separate file in Visualization-data/SA-%06d.bin

This version saves only the solutions at each timestep, it does not save the solution at each stage, see `TSTRAJECTORYBASIC` that saves all stages

\(PETSC_DIR/share/petsc/matlab/PetscReadBinaryTrajectory.m and \)PETSC_DIR/lib/petsc/bin/PetscBinaryIOTrajectory.py can read in files created with this format into MATLAB and Python.

## See Also

TS: Scalable ODE and DAE Solvers, `TSTrajectoryCreate()`, `TS`, `TSTrajectorySetType()`, `TSTrajectoryType`, `TSTrajectorySetVariableNames()`, `TSTrajectoryType`, `TSTrajectory`

## Level

intermediate

## Location

src/ts/trajectory/impls/visualization/trajvisualization.c

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages