2: #if !defined(_MHYPRE_H)
3: #define _MHYPRE_H
5: #include <petscsys.h>
6: #include <HYPRE_IJ_mv.h>
8: typedef struct {
9: HYPRE_IJMatrix ij;
10: HYPRE_IJVector x;
11: HYPRE_IJVector b;
12: MPI_Comm comm;
13: PetscBool inner_free;
14: void *array;
15: PetscInt size;
16: PetscBool available;
17: PetscBool sorted_full;
18: } Mat_HYPRE;
20: #endif