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