Actual source code: petscdmredundant.h

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

  4: #include <petscdm.h>

  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 *);