Bases: object
This class computes colorings for a local mesh. It supports vertex, edge, and facet-based colorings.
Overloaded versions
cell_colors(mesh, coloring_type)
Return a MeshFunction with the cell colors (used for visualisation)
cell_colors(mesh, coloring_type)
Return a MeshFunction with the cell colors (used for visualisation)
Color the cells of a mesh for given coloring type specified by topological dimension, which can be one of 0, 1 or D - 1. Coloring is saved in the mesh topology
Color the cells of a mesh for given coloring type, which can be one of “vertex”, “edge” or “facet”. Coloring is saved in the mesh topology
Compute cell colors for given coloring type specified by topological dimension, which can be one of 0, 1 or D - 1.
The membership flag
Convert coloring type to topological dimension