PetscViewerHDF5PathIsRelative#

Determine whether an HDF5 path string is relative (does not begin with /).

Synopsis#

static inline PetscErrorCode PetscViewerHDF5PathIsRelative(const char path[], PetscBool emptyIsRelative, PetscBool *rel)

Not Collective

Input Parameters#

  • path - the HDF5 path

  • emptyIsRelative - the value to return when path is empty

Output Parameter#

See Also#

PetscViewer, PETSCVIEWERHDF5, PetscViewerHDF5PushGroup(), PetscViewerHDF5GetGroup()

Level#

developer

Location#

include/petscviewerhdf5.h


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