MeshColoring_color

dolfin.cpp.mesh.MeshColoring_color()

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
Parameters:
  • & mesh (Mesh) –
  • std::vector< std::size_t > & coloring_type (const) –
Return type:

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