# 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 on dm


## Input Parameters

- ***dm -*** The `DM`
- ***spaceDim -*** The spatial dimension used for coordinates
- ***vertexCoords -*** An array of numVertices*spaceDim numbers, the coordinates of each vertex





## Fortran Note
Not currently supported in Fortran.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexBuildCoordinatesFromCellListParallel()`, `DMPlexCreateFromCellListPetsc()`, `DMPlexBuildFromCellList()`

## Level
advanced

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


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
