PetscViewerHDF5SetTimestep#
Set the current timestep for the HDF5 output. Fields are stacked in time.
Synopsis#
#include "petscviewerhdf5.h"
PetscErrorCode PetscViewerHDF5SetTimestep(PetscViewer viewer, PetscInt timestep)
Logically collective
Input Parameters#
viewer - the
PetscViewerof typePETSCVIEWERHDF5timestep - The timestep
Note#
This can be called only if the viewer is in timestepping mode. See PetscViewerHDF5PushTimestepping() for details.
See Also#
Viewers: Looking at PETSc Objects, PETSCVIEWERHDF5, PetscViewerHDF5Open(), PetscViewerHDF5PushTimestepping(), PetscViewerHDF5IncrementTimestep(), PetscViewerHDF5GetTimestep()
Level#
intermediate
Location#
Examples#
src/vec/vec/tutorials/ex19.c.html
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages