petsc-3.9.4 2018-09-11
Report Typos and Errors

DMDestroy

Destroys a vector packer or DM.

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode  DMDestroy(DM *dm)
Collective on DM

Input Parameter

dm -the DM object to destroy

See Also

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

Level

developer

Location

src/dm/interface/dm.c

Examples

src/dm/impls/plex/examples/tutorials/ex1.c.html
src/dm/impls/plex/examples/tutorials/ex2.c.html
src/dm/impls/plex/examples/tutorials/ex5.c.html
src/dm/impls/plex/examples/tutorials/ex1f90.F90.html
src/dm/impls/forest/examples/tutorials/ex1.c.html
src/dm/examples/tutorials/ex1.c.html
src/dm/examples/tutorials/ex2.c.html
src/dm/examples/tutorials/ex3.c.html
src/dm/examples/tutorials/ex4.c.html
src/dm/examples/tutorials/ex5.c.html
src/dm/examples/tutorials/ex6.c.html

Implementations

DMDestroy_Composite in src/dm/impls/composite/pack.c
DMDestroy_Private in src/dm/impls/da/dadestroy.c
DMDestroy_DA in src/dm/impls/da/dadestroy.c
DMDestroy_Forest in src/dm/impls/forest/forest.c
DMDestroy_Moab in src/dm/impls/moab/dmmoab.cxx
DMDestroy_Network in src/dm/impls/network/network.c
DMDestroy_Patch in src/dm/impls/patch/patch.c
DMDestroy_Plex in src/dm/impls/plex/plex.c
DMDestroy_Redundant in src/dm/impls/redundant/dmredundant.c
DMDestroy_Shell in src/dm/impls/shell/dmshell.c
DMDestroy_Sliced in src/dm/impls/sliced/sliced.c
DMDestroy_Swarm in src/dm/impls/swarm/swarm.c
DMDestroy_SNESVI in src/snes/impls/vi/rs/virs.c

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages