petsc-3.3-p7 2013-05-11

DMRedundantCreate

Creates a DM object, used to manage data for dense globally coupled variables

Synopsis

#include "petscdm.h"          
#include "petscdmredundant.h" 
#include "petscmat.h"         
PetscErrorCode DMRedundantCreate(MPI_Comm comm,PetscInt rank,PetscInt N,DM *dm)
Collective on MPI_Comm

Input Parameter

comm - the processors that will share the global vector
rank - rank to own the redundant values
N - total number of degrees of freedom

Output Parameters

red -the redundant DM

See Also

DMDestroy(), DMCreateGlobalVector(), DMCreateMatrix(), DMCompositeAddDM()

Level:advanced
Location:
src/dm/impls/redundantdmredundant.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex21.c.html
src/snes/examples/tutorials/ex22.c.html