petsc-master 2019-12-15
Report Typos and Errors

PetscViewerHDF5ReadAttribute

Read an attribute

Synopsis

#include "petscviewerhdf5.h"   
PetscErrorCode PetscViewerHDF5ReadAttribute(PetscViewer viewer, const char dataset[], const char name[], PetscDataType datatype, void *value)

Input Parameters

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

Output Parameter

value -The attribute value

See Also

PetscViewerHDF5Open(), PetscViewerHDF5ReadObjectAttribute(), PetscViewerHDF5WriteAttribute(), PetscViewerHDF5HasAttribute(), PetscViewerHDF5HasObject(), PetscViewerHDF5PushGroup(),PetscViewerHDF5PopGroup(),PetscViewerHDF5GetGroup()

Level

advanced

Location

src/sys/classes/viewer/impls/hdf5/hdf5v.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages