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