1 #ifndef PETSC_MATNESTIMPL_H 2 #define PETSC_MATNESTIMPL_H 3 4 #include <petsc/private/matimpl.h> 5 6 struct MatNestISPair { 7 IS *row, *col; 8 }; 9 10 typedef struct { 11 PetscInt nr, nc; /* nr x nc blocks */ 12 Mat **m; 13 struct MatNestISPair isglobal; 14 struct MatNestISPair islocal; 15 Vec *left, *right; 16 PetscInt *row_len, *col_len; 17 PetscObjectState *nnzstate; 18 PetscBool splitassembly; 19 } Mat_Nest; 20 21 #endif // PETSC_MATNESTIMPL_H 22