# DMGetCoordinateSection
Retrieve the layout of coordinate values over the mesh. 
## Synopsis
```
#include "petscdm.h"          
PetscErrorCode DMGetCoordinateSection(DM dm, PetscSection *section)
```
Collective on dm


## Input Parameter

- ***dm -*** The `DM` object



## Output Parameter

- ***section -*** The `PetscSection` object





## Note
This just retrieves the local section from the coordinate `DM`. In other words,
```none
  DMGetCoordinateDM(dm, &cdm);
  DMGetLocalSection(cdm, &section);
```



## See Also
 `DMGetCoordinateDM()`, `DMGetLocalSection()`, `DMSetLocalSection()`

## Level
intermediate

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex13.c.html">src/snes/tutorials/ex13.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11.c.html">src/ts/tutorials/ex11.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11_sa.c.html">src/ts/tutorials/ex11_sa.c.html</A><BR>


---
[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)  
