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
pathis empty
Output Parameter#
rel -
PETSC_TRUEifpathis relative,PETSC_FALSEif it is absolute
See Also#
PetscViewer, PETSCVIEWERHDF5, PetscViewerHDF5PushGroup(), PetscViewerHDF5GetGroup()
Level#
developer
Location#
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages