# DMPlexTransformSetDimensions
Set the dimensions for the transformed `DM` 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformSetDimensions(DMPlexTransform tr, DM dm, DM tdm)
```

## Input Parameters

- ***tr -*** The `DMPlexTransform` object
- ***dm -*** The original `DM`



## Output Parameter

- ***tdm -*** The transformed `DM`





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

## Level
advanced

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/extrude/plextrextrude.c.html#DMPlexTransformSetDimensions_Extrude">DMPlexTransformSetDimensions_Extrude in src/dm/impls/plex/transform/impls/extrude/plextrextrude.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)  
