# DMPlexTriangleSetOptions
Set the options used for the Triangle mesh generator 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexTriangleSetOptions(DM dm, const char *opts)
```
Not Collective


## Inputs Parameters

- ***dm -*** The `DMPLEX` object
- ***opts -*** The command line options





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexTetgenSetOptions()`, `DMPlexGenerate()`

## Level
developer

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexgenerate.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)  
