petsc-3.14.6 2021-03-30
Report Typos and Errors

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

TSTrajectoryCreate(), TS, TSTrajectorySetType(), TSTrajectoryType, TSTrajectorySetVariableNames()

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