DMSetUp#
sets up the data structures inside a DM
object
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetUp(DM dm)
Collective
Input Parameter#
dm - the
DM
object to setup
Note#
This is usually called after various parameter setting operations and DMSetFromOptions()
are called on the DM
See Also#
DM Basics, DM
, DMCreate()
, DMSetType()
, DMView()
, DMCreateGlobalVector()
, DMCreateInterpolation()
, DMCreateColoring()
, DMCreateMatrix()
Level#
intermediate
Location#
Examples#
src/tao/unconstrained/tutorials/eptorsion2.c
src/tao/unconstrained/tutorials/minsurf2.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/tao/bound/tutorials/plate2.c
src/tao/unconstrained/tutorials/eptorsion2f.F90
src/tao/complementarity/tutorials/blackscholes.c
src/tao/bound/tutorials/plate2f.F90
src/tao/bound/tutorials/jbearing2.c
src/dm/impls/stag/tutorials/ex3.c
Implementations#
DMSetUp_Composite() in src/dm/impls/composite/pack.c
DMSetUp_DA() in src/dm/impls/da/dareg.c
DMSetUp_pforest() in src/dm/impls/forest/p4est/pforest.h
DMSetUp_Moab() in src/dm/impls/moab/dmmoab.cxx
DMSetUp_Network() in src/dm/impls/network/network.c
DMSetUp_Patch() in src/dm/impls/patch/patch.c
DMSetUp_Plex() in src/dm/impls/plex/plex.c
DMSetUp_Redundant() in src/dm/impls/redundant/dmredundant.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages