petsc-3.7.3 2016-08-01
Report Typos and Errors

PetscViewerHDF5GetTimestep

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

Synopsis

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

Input Parameter

viewer -the PetscViewer

Output Parameter

timestep -The timestep number

See Also

PetscViewerHDF5Open(), 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