petsc-3.4.2 2013-07-02

# DMSetUp

sets up the data structures inside a DM object

### Synopsis

    #include "petscdm.h"
    PetscErrorCode  DMSetUp(DM dm)

Collective on DM

### Input Parameter

dm -the DM object to setup

### See Also

DMView(), DMCreateGlobalVector(), DMCreateInterpolation(), DMCreateColoring(), DMCreateMatrix()

Level:developer
Location: src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/ts/examples/tutorials/ex14.c.html