xref: /petsc/src/mat/impls/nest/matnestimpl.h (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
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