# DMPlexCreateEGADSLiteFromFile
Create a DMPlex mesh from an EGADSLite file. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateEGADSLiteFromFile(MPI_Comm comm, const char filename[], DM *dm)
```
Collective


## Input Parameters

- ***comm     -*** The MPI communicator
- ***filename -*** The name of the EGADSLite file



## Output Parameter

- ***dm       -*** The DM object representing the mesh





## See Also
 `DMPLEX`, `DMCreate()`, `DMPlexCreateEGADS()`, `DMPlexCreateEGADSFromFile()`

## Level
beginner

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


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