1: #if !defined(DMPRODUCT_H_) 2: #define DMPRODUCT_H_ 4: #include <petscdm.h> 6: PETSC_EXTERN PetscErrorCode DMCreate_Product(DM); 7: PETSC_EXTERN PetscErrorCode DMProductGetDM(DM,PetscInt,DM*); 8: PETSC_EXTERN PetscErrorCode DMProductSetDimensionIndex(DM,PetscInt,PetscInt); 9: PETSC_EXTERN PetscErrorCode DMProductSetDM(DM,PetscInt,DM); 11: #endif