Actual source code: dmproductimpl.h
petsc-3.12.4 2020-02-04
Report Typos and Errors

      1: #if !defined(DMPRODUCTIMPL_H_)
      2: #define 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