PETSc version v3.16.1-435-g007f11b901
Fix/Edit manual page

PetscViewerHDF5GetTimestep

Get the current timestep for the HDF5 output. Fields are stacked in time.

Synopsis

#include "petscviewerhdf5.h" 
PetscErrorCode  PetscViewerHDF5GetTimestep(PetscViewer viewer, PetscInt *timestep)
Not collective

Input Parameter

viewer - the PetscViewer

Output Parameter

timestep - The timestep

Notes

This can be called only if the viewer is in the timestepping mode. See PetscViewerHDF5PushTimestepping() for details.

See Also

PetscViewerHDF5Open(), PetscViewerHDF5PushTimestepping(), PetscViewerHDF5IncrementTimestep(), PetscViewerHDF5SetTimestep()

Level

intermediate

Location

src/sys/classes/viewer/impls/hdf5/hdf5v.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages