#include "petscviewerhdf5.h" /* TODO Once corresponding MatView is implemented, add this: Current defaults are (iname, jname, aname, cname) = ("i", "j", "a", "ncols"). For PetscViewerFormat PETSC_VIEWER_HDF5_MAT they are ("jc", "ir", "data", "MATLAB_sparse") so that MAT files can be loaded. */ PetscErrorCode PetscViewerHDF5SetAIJNames(PetscViewer viewer, const char iname[], const char jname[], const char aname[], const char cname[])Collective on PetscViewer
viewer | - the PetscViewer; either ASCII or binary | |
iname | - name of dataset i representing row pointers; that is i[0] = 0, i[row] = i[row-1] + number of elements in that row of the matrix | |
jname | - name of dataset j representing column indices | |
aname | - name of dataset a representing matrix values | |
cname | - name of attribute stoting column count |