PetscViewerHDF5WriteGroup#

Ensure the HDF5 group exists in the HDF5 file

Synopsis#

#include "petscviewerhdf5.h" 
PetscErrorCode PetscViewerHDF5WriteGroup(PetscViewer viewer, const char path[])

Not Collective

Input Parameters#

Note#

If path starts with ‘/’, it is taken as an absolute path overriding currently pushed group, else path is relative to the current pushed group. NULL or empty path means the current pushed group.

This will fail if the viewer is not writable.

See Also#

Viewers: Looking at PETSc Objects, PETSCVIEWERHDF5, PetscViewerHDF5Open(), PetscViewerHDF5PushGroup(), PetscViewerHDF5PopGroup(), PetscViewerHDF5GetGroup(), PetscViewerHDF5OpenGroup()

Level#

intermediate

Location#

src/sys/classes/viewer/impls/hdf5/hdf5v.c


Edit on GitLab

Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages