PetscViewerHDF5WriteAttribute

Write an attribute

Synopsis

#include "petscviewerhdf5.h"   
PetscErrorCode PetscViewerHDF5WriteAttribute(PetscViewer viewer, const char dataset[], const char name[], PetscDataType datatype, const 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
value - The attribute value

Level: advanced

See Also

PetscViewerHDF5Open(), PetscViewerHDF5WriteObjectAttribute(), PetscViewerHDF5ReadAttribute(), PetscViewerHDF5HasAttribute(), PetscViewerHDF5PushGroup(),PetscViewerHDF5PopGroup(),PetscViewerHDF5GetGroup()

Location:hdf5v.c