1 /* DM for redundant globally coupled degrees of freedom */ 2 #ifndef PETSCDMREDUNDANT_H 3 #define PETSCDMREDUNDANT_H 4 5 #include <petscdm.h> 6 7 PETSC_EXTERN PetscErrorCode DMRedundantCreate(MPI_Comm, PetscMPIInt, PetscInt, DM *); 8 PETSC_EXTERN PetscErrorCode DMRedundantSetSize(DM, PetscMPIInt, PetscInt); 9 PETSC_EXTERN PetscErrorCode DMRedundantGetSize(DM, PetscMPIInt *, PetscInt *); 10 11 #endif 12