petsc4py.PETSc.ViewerHDF5#
- class petsc4py.PETSc.ViewerHDF5#
Bases:
Viewer
Viewer object for HDF5 file formats.
Viewer is described in the
PETSc manual
.See also
Methods Summary
create
(name[, mode, comm])Create a viewer of type
Type.HDF5
.getGroup
()Return the current group.
Return the current time step.
Increment the time step.
popGroup
()Pop the current group from the stack.
Deactivate the timestepping mode.
pushGroup
(group)Set the current group.
Activate the timestepping mode.
setTimestep
(timestep)Set the current time step.
Methods Documentation
- create(name, mode=None, comm=None)#
Create a viewer of type
Type.HDF5
.Collective.
- Parameters:
- Return type:
See also
- getGroup()#
Return the current group.
Not collective.
See also
Source code at petsc4py/PETSc/Viewer.pyx:1174
- Return type:
- getTimestep()#
Return the current time step.
Not collective.
Source code at petsc4py/PETSc/Viewer.pyx:1107
- Return type:
- incrementTimestep()#
Increment the time step.
Logically collective.
Source code at petsc4py/PETSc/Viewer.pyx:1135
- Return type:
- popGroup()#
Pop the current group from the stack.
Logically collective.
See also
Source code at petsc4py/PETSc/Viewer.pyx:1162
- Return type:
- popTimestepping()#
Deactivate the timestepping mode.
Logically collective.
Source code at petsc4py/PETSc/Viewer.pyx:1095
- Return type:
- pushGroup(group)#
Set the current group.
Logically collective.
See also
- pushTimestepping()#
Activate the timestepping mode.
Logically collective.
Source code at petsc4py/PETSc/Viewer.pyx:1083
- Return type:
- setTimestep(timestep)#
Set the current time step.
Logically collective.