1 /* DM for redundant globally coupled degrees of freedom */ 2 #if !defined(__PETSCDMREDUNDANT_H) 3 #define __PETSCDMREDUNDANT_H 4 5 #include "petscdm.h" 6 PETSC_EXTERN_CXX_BEGIN 7 8 extern PetscErrorCode DMRedundantCreate(MPI_Comm,PetscInt,PetscInt,DM*); 9 extern PetscErrorCode DMRedundantSetSize(DM,PetscInt,PetscInt); 10 extern PetscErrorCode DMRedundantGetSize(DM,PetscInt*,PetscInt*); 11 12 PETSC_EXTERN_CXX_END 13 #endif 14