Date: 2026-03-31T05:46:37+00:00

Actual source code: general.h

      1: #pragma once

      3: /*
      4:     Defines the data structure used for the general index set
      5: */
      6: #include <petsc/private/isimpl.h>

      8: typedef struct {
      9:   PetscBool sorted;    /* indicates the indices are sorted */
     10:   PetscBool allocated; /* did we allocate the index array ourselves? */
     11:   PetscInt *idx;
     12: } IS_General;