5: /*
6: Defines the data structure used for the general index set
7: */
8: #include include/private/isimpl.h
9: #include petscsys.h
11: typedef struct {
12: PetscInt N; /* number of indices */
13: PetscInt n; /* local number of indices */
14: PetscTruth sorted; /* indicates the indices are sorted */
15: PetscTruth allocated; /* did we allocate the index array ourselves? */
16: PetscInt *idx;
17: } IS_General;
19: #endif