# DMDestroy

Destroys a vector packer or DA.

### Synopsis

    #include "petscda.h"
    PetscErrorCode PETSCDM_DLLEXPORT DMDestroy(DM dm)

Collective on DM

### Input Parameter

dm -the DM object to destroy

### See Also

DMView(), DMCreateGlobalVector(), DMGetInterpolation(), DMGetColoring(), DMGetMatrix()

Level:developer
Location:src/dm/da/utils/dm.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages