:orphan: # DMPlexGetCellCoordinates Get coordinates for a cell, taking into account periodicity ## Synopsis ``` #include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexGetCellCoordinates(DM dm, PetscInt cell, PetscBool *isDG, PetscInt *Nc, const PetscScalar *array[], PetscScalar *coords[]) ``` Not Collective ## Input Parameters - ***dm -*** The `DMPLEX` - ***cell -*** The cell number ## Output Parameters - ***isDG -*** Using cellwise coordinates - ***Nc -*** The number of coordinates - ***array -*** The coordinate array - ***coords -*** The cell coordinates ## See Also `DMPLEX`, `DMPlexRestoreCellCoordinates()`, `DMGetCoordinatesLocal()`, `DMGetCellCoordinatesLocal()` ## Level developer ## Location src/dm/impls/plex/plexgeometry.c ## Examples src/dm/impls/plex/tutorials/ex8.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexgeometry.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)