#include "petscis.h" PetscErrorCode ISBlockSetIndices(IS is,PetscInt bs,PetscInt n,const PetscInt idx[],PetscCopyMode mode)Collective on IS
| is | - the index set | |
| bs | - number of elements in each block, one for each block and count of block not indices | |
| n | - the length of the index set (the number of blocks) | |
| idx | - the list of integers, these are by block, not by location | |
| mode | - see PetscCopyMode, only PETSC_COPY_VALUES and PETSC_OWN_POINTER are supported |