# DMPlexTransformDestroy
Destroys a `DMPlexTransform` 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformDestroy(DMPlexTransform *tr)
```
Collective on tr


## Input Parameter

- ***tr -*** the transform object to destroy





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformView()`, `DMPlexTransformCreate()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/interface/plextransform.c.html#DMPlexTransformDestroy">src/dm/impls/plex/transform/interface/plextransform.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/tutorials/ex11.c.html">src/dm/impls/plex/tutorials/ex11.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/extrude/plextrextrude.c.html#DMPlexTransformDestroy_Extrude">DMPlexTransformDestroy_Extrude in src/dm/impls/plex/transform/impls/extrude/plextrextrude.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/filter/plextrfilter.c.html#DMPlexTransformDestroy_Filter">DMPlexTransformDestroy_Filter in src/dm/impls/plex/transform/impls/filter/plextrfilter.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/1d/plexref1d.c.html#DMPlexTransformDestroy_1D">DMPlexTransformDestroy_1D in src/dm/impls/plex/transform/impls/refine/1d/plexref1d.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/alfeld/plexrefalfeld.c.html#DMPlexTransformDestroy_Alfeld">DMPlexTransformDestroy_Alfeld in src/dm/impls/plex/transform/impls/refine/alfeld/plexrefalfeld.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/bl/plexrefbl.c.html#DMPlexTransformDestroy_BL">DMPlexTransformDestroy_BL in src/dm/impls/plex/transform/impls/refine/bl/plexrefbl.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/regular/plexrefregular.c.html#DMPlexTransformDestroy_Regular">DMPlexTransformDestroy_Regular in src/dm/impls/plex/transform/impls/refine/regular/plexrefregular.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/sbr/plexrefsbr.c.html#DMPlexTransformDestroy_SBR">DMPlexTransformDestroy_SBR in src/dm/impls/plex/transform/impls/refine/sbr/plexrefsbr.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/refine/tobox/plexreftobox.c.html#DMPlexTransformDestroy_ToBox">DMPlexTransformDestroy_ToBox in src/dm/impls/plex/transform/impls/refine/tobox/plexreftobox.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/transform/interface/plextransform.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
