xref: /petsc/src/vec/is/is/impls/general/general.h (revision 5c0db29a52f0e0a315a431c2b5d53138ecf7c054)
1 #ifndef PETSC_IS_GENERAL_H
2 #define PETSC_IS_GENERAL_H
3 
4 /*
5     Defines the data structure used for the general index set
6 */
7 #include <petsc/private/isimpl.h>
8 
9 typedef struct {
10   PetscBool sorted;    /* indicates the indices are sorted */
11   PetscBool allocated; /* did we allocate the index array ourselves? */
12   PetscInt *idx;
13 } IS_General;
14 
15 #endif
16