1 #pragma once 2 3 #include <petscdmproduct.h> /*I "petscdmproduct.h" I*/ 4 #include <petsc/private/dmimpl.h> 5 6 #define DMPRODUCT_MAX_DIM 3 7 8 typedef struct { 9 DM dm[DMPRODUCT_MAX_DIM]; 10 PetscInt dim[DMPRODUCT_MAX_DIM]; /* Which dimension in the sub DM for this slot? */ 11 } DM_Product; 12