:orphan: # DMPlexCreatePLYFromFile Create a DMPlex mesh from a PLY file. ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexCreatePLYFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm) ``` - ***comm -*** The MPI communicator - ***filename -*** Name of the .med file - ***interpolate -*** Create faces and edges in the mesh ## Output Parameter - ***dm -*** The DM object representing the mesh Note: https://en.wikipedia.org/wiki/PLY_(file_format) ## See Also `DMPlexCreateFromFile()`, `DMPlexCreateMedFromFile()`, `DMPlexCreateGmsh()`, `DMPlexCreate()` ## Level beginner ## Location src/dm/impls/plex/plexply.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexply.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)