#include "petscdmplex.h" PetscErrorCode DMPlexComputeCellTypes(DM dm)Collective on dm
DMPlexComputeCellTypes() should be called after all calls to DMPlexSymmetrize() and DMPlexStratify()
Note: This function is normally called automatically by Plex when a cell type is requested. It creates an internal DMLabel named "celltype" which can be directly accessed using DMGetLabel(). A user may disable automatic creation by creating the label manually, using DMCreateLabel(dm, "celltype").