#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 | |
| n | - the length of the index set (the number of blocks) | |
| idx | - the list of integers, one for each block, the integers contain the index of the first index of each block divided by the block size | |
| mode | - see PetscCopyMode, only PETSC_COPY_VALUES and PETSC_OWN_POINTER are supported |