:orphan: # DMPlexCreateCoordinateSpace Creates a finite element space for the coordinates ## Synopsis ``` #include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexCreateCoordinateSpace(DM dm, PetscInt degree, PetscPointFunc coordFunc) ``` Collective ## Input Parameters - ***DM -*** The `DMPLEX` - ***degree -*** The degree of the finite element or `PETSC_DECIDE` - ***coordFunc -*** An optional function to map new points from refinement to the surface ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `PetscPointFunc`, `PetscFECreateLagrange()`, `DMGetCoordinateDM()` ## Level advanced ## Location src/dm/impls/plex/plexcreate.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexcreate.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)