:orphan: # DMPlexBuildCoordinatesFromCellList Build `DM` coordinates from a list of coordinates for each owned vertex (common mesh generator output) ## Synopsis ``` #include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexBuildCoordinatesFromCellList(DM dm, PetscInt spaceDim, const PetscReal vertexCoords[]) ``` Collective; No Fortran Support ## Input Parameters - ***dm -*** The `DM` - ***spaceDim -*** The spatial dimension used for coordinates - ***vertexCoords -*** An array of numVertices*spaceDim numbers, the coordinates of each vertex ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexBuildCoordinatesFromCellListParallel()`, `DMPlexCreateFromCellListPetsc()`, `DMPlexBuildFromCellList()` ## Level advanced ## Location src/dm/impls/plex/plexcreate.c --- [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)