MeshColoring_compute_colors

dolfin.cpp.mesh.MeshColoring_compute_colors()

Compute cell colors for given coloring type specified by topological dimension, which can be one of 0, 1 or D - 1.

Parameters:
  • Mesh & mesh (const) –
  • std::size_t > & colors (std::vector<) –
  • std::vector< std::size_t > & coloring_type (const) –
Return type:

std::size_t