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