convert the indices of an array IS into non-block indices in an array of ISGENERAL


#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, must be as large as imax

Output Parameter#

  • is_out - the non-blocked new index set, as ISGENERAL, must be as large as imax

See Also#

Low-level Vector Communication, IS, ISGENERAL, ISCompressIndicesGeneral()





Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages