:orphan:
# DMGetCoordinatesLocalNoncollective
Non-collective version of `DMGetCoordinatesLocal()`. Fails if global coordinates have been set and `DMGetCoordinatesLocalSetUp()` not called. 
## Synopsis
```
#include "petscdm.h"          
PetscErrorCode DMGetCoordinatesLocalNoncollective(DM dm, Vec *c)
```
Not Collective


## Input Parameter

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



## Output Parameter

- ***c -*** coordinate vector





## Note
A previous call to  `DMGetCoordinatesLocal()` or `DMGetCoordinatesLocalSetUp()` ensures that a call to this function will not error.


## See Also
 `DM`, `DMGetCoordinatesLocalSetUp()`, `DMGetCoordinatesLocal()`, `DMSetCoordinatesLocal()`, `DMGetCoordinates()`, `DMSetCoordinates()`, `DMGetCoordinateDM()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/interface/dmcoordinates.c.html#DMGetCoordinatesLocalNoncollective">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
