DMPlexComputeCellTypes

Infer the polytope type of every cell using its dimension and cone size.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexComputeCellTypes(DM dm)
Collective on dm

Input Parameter

mesh - The DMPlex

DMPlexComputeCellTypes() should be called after all calls to DMPlexSymmetrize() and DMPlexStratify()

Level: developer

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").

See Also

DMPlexCreate(), DMPlexSymmetrize(), DMPlexStratify(), DMGetLabel(), DMCreateLabel()

Location:plex.c