Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
This class computes colorings for a local mesh. It supports vertex, edge, and facet-based colorings.
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
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
Compute cell colors for given coloring type specified by topological dimension, which can be one of 0, 1 or D - 1.
Return a MeshFunction with the cell colors (used for visualisation)
Return a MeshFunction with the cell colors (used for visualisation)
Convert coloring type to topological dimension