#include "petscviewerhdf5.h" PetscErrorCode PetscViewerHDF5ReadAttribute(PetscViewer viewer, const char dataset[], const char name[], PetscDataType datatype, void *value)
| viewer | - The HDF5 viewer | |
| dataset | - The parent dataset name, relative to the current group. NULL means a group-wise attribute. | |
| name | - The attribute name | |
| datatype | - The attribute type |