1: #pragma once
  3: #include <petscmat.h>
  4: #include <petscdmpatch.h>
  5: #include <petsc/private/dmimpl.h>
  7: typedef struct {
  8:   PetscInt   refct;
  9:   DM         dmCoarse;
 10:   MatStencil patchSize;
 11:   MatStencil commSize;
 12: } DM_Patch;