DMRedundantCreate#
Creates a DM
object, used to manage data for dense globally coupled variables
Synopsis#
#include "petscdmredundant.h"
PetscErrorCode DMRedundantCreate(MPI_Comm comm, PetscMPIInt rank, PetscInt N, DM *dm)
Collective
Input Parameters#
comm - the processors that will share the global vector
rank - the MPI rank to own the redundant values
N - total number of degrees of freedom
Output Parameter#
dm - the
DM
object of typeDMREDUNDANT
See Also#
DM
, DMREDUNDANT
, DMDestroy()
, DMCreateGlobalVector()
, DMCreateMatrix()
, DMCompositeAddDM()
, DMSetType()
, DMRedundantSetSize()
, DMRedundantGetSize()
Level#
advanced
Location#
Examples#
src/snes/tutorials/ex22.c
src/snes/tutorials/ex21.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages