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