petsc-3.8.4 2018-03-24
DMCompositeAddDM
adds a DM vector to a DMComposite
Synopsis
#include "petscdmcomposite.h"
PetscErrorCode DMCompositeAddDM(DM dmc,DM dm)
Collective on DMComposite
Input Parameter
| dmc | - the DMComposite (packer) object
|
| dm | - the DM object; if the DM is a DMDA you will need to cast it with a (DM)
|
See Also
DMDestroy(), DMCompositeGather(), DMCompositeAddDM(), DMCreateGlobalVector(),
DMCompositeScatter(), DMCompositeCreate(), DMCompositeGetISLocalToGlobalMappings(), DMCompositeGetAccess(),
DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(), DMCompositeGetEntries()
Level:advanced
Location:src/dm/impls/composite/pack.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
src/snes/examples/tutorials/ex28.c.html
src/snes/examples/tutorials/ex73f90t.F90.html
src/ts/examples/tutorials/ex14.c.html