Function ReadIndexSet¶
- Defined in File bigfeta_dist.h
Function Documentation¶
-
PetscErrorCode
ReadIndexSet
(MPI_Comm COMM, PetscViewer viewer, char *varname, IS *newIS, PetscInt *n)¶ Read data from a PetscViewer into an IS (Index Set, i.e. integer) object.
- Parameters
COMM
: The MPI communicator, PETSC_COMM_SELF or PETSC_COMM_WORLD.viewer
: A PetscViewer instance.*varname
: The new IS will have this name. For reading from hdf5 files, this name must match the dataset name in the file.*newIS
: The new IS object.*n
: The number of entries in the new object.