:orphan:
# DMLocalizeCoordinates
If a mesh is periodic, create local coordinates for cells having periodic faces
## Synopsis
```
#include "petscdm.h"
PetscErrorCode DMLocalizeCoordinates(DM dm)
```
Collective
## Input Parameter
- ***dm -*** The `DM`
## See Also
`DM`, `DMSetPeriodicity()`, `DMLocalizeCoordinate()`, `DMLocalizeAddCoordinate()`
## Level
developer
## Location
src/dm/interface/dmperiodicity.c
## Examples
src/dm/impls/forest/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex10.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex48.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dmperiodicity.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)