plexply.c (02477ebbb21fa13a3b107e40dce1c3d726eb3600) plexply.c (a4e35b1925eceef64945ea472b84f2bf06a67b5e)
1#define PETSCDM_DLL
2#include <petsc/private/dmpleximpl.h> /*I "petscdmplex.h" I*/
3
4/*@C
1#define PETSCDM_DLL
2#include <petsc/private/dmpleximpl.h> /*I "petscdmplex.h" I*/
3
4/*@C
5 DMPlexCreatePLYFromFile - Create a DMPlex mesh from a PLY file.
5 DMPlexCreatePLYFromFile - Create a `DMPLEX` mesh from a PLY file.
6
6
7 Input Parameters:
7+ comm - The MPI communicator
8. filename - Name of the .med file
9- interpolate - Create faces and edges in the mesh
10
11 Output Parameter:
12. dm - The DM object representing the mesh
13
8+ comm - The MPI communicator
9. filename - Name of the .med file
10- interpolate - Create faces and edges in the mesh
11
12 Output Parameter:
13. dm - The DM object representing the mesh
14
14 Note: https://en.wikipedia.org/wiki/PLY_(file_format)
15 References:
16. * - https://en.wikipedia.org/wiki/PLY_(file_format)
15
16 Level: beginner
17
18.seealso: `DMPlexCreateFromFile()`, `DMPlexCreateMedFromFile()`, `DMPlexCreateGmsh()`, `DMPlexCreate()`
19@*/
20PetscErrorCode DMPlexCreatePLYFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)
21{
22 PetscViewer viewer;

--- 187 unchanged lines hidden ---
17
18 Level: beginner
19
20.seealso: `DMPlexCreateFromFile()`, `DMPlexCreateMedFromFile()`, `DMPlexCreateGmsh()`, `DMPlexCreate()`
21@*/
22PetscErrorCode DMPlexCreatePLYFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)
23{
24 PetscViewer viewer;

--- 187 unchanged lines hidden ---