:orphan:
# DMPlexCreateWedgeCylinderMesh
Creates a mesh on the tensor product of the unit interval with the circle (cylinder) using wedges. 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateWedgeCylinderMesh(MPI_Comm comm, PetscInt n, PetscBool interpolate, DM *dm)
```
Collective


## Input Parameters

- ***comm -*** The communicator for the `DM` object
- ***n    -*** The number of wedges around the origin
- ***interpolate -*** Create edges and faces



## Output Parameter

- ***dm  -*** The `DM` object





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexCreateHexCylinderMesh()`, `DMPlexCreateBoxMesh()`, `DMSetType()`, `DMCreate()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexcreate.c.html#DMPlexCreateWedgeCylinderMesh">src/dm/impls/plex/plexcreate.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexcreate.c.html#DMPlexCreateWedgeCylinderMesh_Internal">DMPlexCreateWedgeCylinderMesh_Internal in src/dm/impls/plex/plexcreate.c</A><BR>


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


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