:orphan:
# DMSetCellCoordinateSection
Set the layout of cellwise coordinate values over the mesh. 
## Synopsis
```
#include "petscdm.h"          
PetscErrorCode DMSetCellCoordinateSection(DM dm, PetscInt dim, PetscSection section)
```
Not Collective


## Input Parameters

- ***dm      -*** The `DM` object
- ***dim     -*** The embedding dimension, or `PETSC_DETERMINE`
- ***section -*** The `PetscSection` object for a cellwise layout





## See Also
 `DM`, `DMGetCoordinateDim()`, `DMSetCoordinateSection()`, `DMGetCellCoordinateSection()`, `DMGetCoordinateSection()`, `DMGetCellCoordinateDM()`, `DMGetLocalSection()`, `DMSetLocalSection()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/interface/dmcoordinates.c.html#DMSetCellCoordinateSection">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)  
