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