Actual source code: petscdmredundant.h

  1: /* DM for redundant globally coupled degrees of freedom */
  2: #pragma once

  4: #include <petscsystypes.h>
  5: #include <petscdmtypes.h>

  7: /* MANSEC = DM */

  9: PETSC_EXTERN PetscErrorCode DMRedundantCreate(MPI_Comm, PetscMPIInt, PetscInt, DM *);
 10: PETSC_EXTERN PetscErrorCode DMRedundantSetSize(DM, PetscMPIInt, PetscInt);
 11: PETSC_EXTERN PetscErrorCode DMRedundantGetSize(DM, PetscMPIInt *, PetscInt *);