# DMGetCellCoordinatesLocalSetUp
Prepares a local vector of cellwise coordinates, so that `DMGetCellCoordinatesLocalNoncollective()` can be used as non-collective afterwards. 
## Synopsis
```
#include "petscdm.h"          
PetscErrorCode DMGetCellCoordinatesLocalSetUp(DM dm)
```
Collective on dm


## Input Parameter

- ***dm -*** the `DM`





## See Also
 `DM`, `DMGetCellCoordinatesLocalNoncollective()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/interface/dmcoordinates.c.html#DMGetCellCoordinatesLocalSetUp">src/dm/interface/dmcoordinates.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dmcoordinates.c)


[Index of all DM routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
