PETSc version 3.15.5
Fix/Edit manual page

# DMCompositeAddDM

adds a DM vector to a DMComposite

### Synopsis

    #include "petscdmcomposite.h"
    PetscErrorCode  DMCompositeAddDM(DM dmc,DM dm)

Collective on dm

### Input Parameter

| dmc | - the DMComposite (packer) object
| dm | - the DM object

### See Also

DMDestroy(), DMCompositeGather(), DMCompositeAddDM(), DMCreateGlobalVector(),
DMCompositeScatter(), DMCompositeCreate(), DMCompositeGetISLocalToGlobalMappings(), DMCompositeGetAccess(), DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(), DMCompositeGetEntries()

### Level

advanced

### Location

src/dm/impls/composite/pack.c

### Examples

src/snes/tutorials/ex21.c.html
src/snes/tutorials/ex22.c.html
src/snes/tutorials/ex28.c.html
src/snes/tutorials/ex73f90t.F90.html
src/ts/tutorials/ex14.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages