:orphan: # DMPlexLabelAddFaceCells Starting with a label marking faces on a surface, we add a cell for each face ## Synopsis ``` #include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexLabelAddFaceCells(DM dm, DMLabel label) ``` ## Input Parameters - ***dm -*** The `DM` - ***label -*** A `DMLabel` marking the surface points ## Output Parameter - ***label -*** A `DMLabel` incorporating cells ## Note The cells allow FEM boundary conditions to be applied using the cell geometry ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexLabelAddCells()`, `DMPlexLabelComplete()`, `DMPlexLabelCohesiveComplete()` ## Level developer ## Location src/dm/impls/plex/plexsubmesh.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexsubmesh.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)