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