petsc-master 2019-11-20
Report Typos and Errors

TSTRAJECTORYVISUALIZATION

Stores each solution of the ODE/DAE in a file Saves each timestep into a seperate 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