#include "petscts.h" PetscErrorCode TSTrajectorySetFiletemplate(TSTrajectory tj,const char filetemplate[])Collective on TSTrajectory
| tj | - the TSTrajectory context | |
| filetemplate | - the template |
| -ts_trajectory_file_template | - set the file name template |
The final location of the files is determined by dirname/filetemplate where dirname was provided by TSTrajectorySetDirname(). The %06D is replaced by the timestep counter