#include "petscts.h" PetscErrorCode TSTrajectorySetFiletemplate(TSTrajectory tj,const char filetemplate[])Collective on TSTrajectory
tj | - the TSTrajectory context | |
filetemplate | - the template |
Notes: The name template should be of the form, for example filename-%06D.bin It should not begin with a leading /
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