1: #ifndef _PATCHIMPL_H
2: #define _PATCHIMPL_H
4: #include <petscmat.h>
5: #include <petscdmpatch.h>
6: #include <petsc/private/dmimpl.h>
8: typedef struct {
9: PetscInt refct;
10: DM dmCoarse;
11: MatStencil patchSize;
12: MatStencil commSize;
13: } DM_Patch;
15: #endif /* _PATCHIMPL_H */