Actual source code: dmproductimpl.h

  1: #ifndef PETSC_DMPRODUCTIMPL_H
  2: #define PETSC_DMPRODUCTIMPL_H

  4: #include <petscdmproduct.h>
  5: #include <petsc/private/dmimpl.h>

  7: #define DMPRODUCT_MAX_DIM 3

  9: typedef struct {
 10:   DM       dm[DMPRODUCT_MAX_DIM];
 11:   PetscInt dim[DMPRODUCT_MAX_DIM]; /* Which dimension in the sub DM for this slot? */
 12: } DM_Product;

 14: #endif // PETSC_DMPRODUCTIMPL_H