MeshColoring_color_cells

dolfin.cpp.mesh.MeshColoring_color_cells()

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

Parameters:
  • & mesh (Mesh) –
  • coloring_type (std::string) –
Return type:

const std::vector< std::size_t > &