# DMPlexTransformCreate
Creates an empty transform object. The type can then be set with `DMPlexTransformSetType()`. 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformCreate(MPI_Comm comm, DMPlexTransform *tr)
```
Collective


## Input Parameter

- ***comm -*** The communicator for the transform object



## Output Parameter

- ***dm -*** The transform object





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformType`, `DMPlexTransformSetType()`, `DMPLEXREFINEREGULAR`, `DMPLEXTRANSFORMFILTER`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/interface/plextransform.c.html#DMPlexTransformCreate">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#DMPlexTransformCreate_Extrude">DMPlexTransformCreate_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#DMPlexTransformCreate_Filter">DMPlexTransformCreate_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#DMPlexTransformCreate_1D">DMPlexTransformCreate_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#DMPlexTransformCreate_Alfeld">DMPlexTransformCreate_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#DMPlexTransformCreate_BL">DMPlexTransformCreate_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#DMPlexTransformCreate_Regular">DMPlexTransformCreate_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#DMPlexTransformCreate_SBR">DMPlexTransformCreate_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#DMPlexTransformCreate_ToBox">DMPlexTransformCreate_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)  
