#include "petscts.h" PetscErrorCode TSSetSaveTrajectory(TS ts)Collective on TS
-ts_save_trajectory | - saves the trajectory to a file | |
-ts_trajectory_type type | - Note: This routine should be called after all TS options have been set |
The TSTRAJECTORYVISUALIZATION files can be loaded into Python with $PETSC_DIR/lib/petsc/bin/PetscBinaryIOTrajectory.py and MATLAB with $PETSC_DIR/share/petsc/matlab/PetscReadBinaryTrajectory.m