xref: /petsc/src/mat/impls/nest/matnestimpl.h (revision 9dd11ecf0918283bb567d8b33a92f53ac4ea7840)
1 #pragma once
2 
3 #include <petsc/private/matimpl.h>
4 
5 struct MatNestISPair {
6   IS *row, *col;
7 };
8 
9 typedef struct {
10   PetscInt             nr, nc; /* nr x nc blocks */
11   Mat                **m;
12   struct MatNestISPair isglobal;
13   struct MatNestISPair islocal;
14   Vec                 *left, *right;
15   PetscInt            *row_len, *col_len;
16   PetscObjectState    *nnzstate;
17   PetscBool            splitassembly;
18 } Mat_Nest;
19