:orphan: # ISExpandIndicesGeneral convert the indices of an array `IS` into non-block indices in an array of `ISGENERAL` ## Synopsis ``` #include "petscis.h" PetscErrorCode ISExpandIndicesGeneral(PetscInt n, PetscInt nkeys, PetscInt bs, PetscInt imax, const IS is_in[], IS is_out[]) ``` ## Input Parameters - ***n -*** the length of the index set (not being used) - ***nkeys -*** expected number of keys when `PETSC_USE_CTABLE` is used - ***bs -*** the size of block - ***imax -*** the number of index sets - ***is_in -*** the blocked array of index sets ## Output Parameter - ***is_out -*** the non-blocked new index set, as `ISGENERAL` ## See Also [](sec_scatter), `IS`, `ISGENERAL`, `ISCompressIndicesGeneral()` ## Level intermediate ## Location src/vec/is/is/utils/isblock.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/utils/isblock.c) [Index of all IS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)