1: #pragma once
3: #include <petsc/private/matimpl.h>
5: struct MatNestISPair {
6: IS *row, *col;
7: };
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;