Date: 2025-03-29T05:58:52+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;