23 #ifndef __MESH_COLORING_H 24 #define __MESH_COLORING_H 47 std::string coloring_type);
52 static const std::vector<std::size_t>&
53 color(
Mesh& mesh,
const std::vector<std::size_t>& coloring_type);
58 std::vector<std::size_t>& colors,
59 const std::vector<std::size_t>& coloring_type);
65 std::string coloring_type);
70 std::vector<std::size_t> coloring_type);
74 static std::size_t
type_to_dim(std::string coloring_type,
const Mesh& mesh);
static MeshFunction< std::size_t > cell_colors(std::shared_ptr< const Mesh > mesh, std::string coloring_type)
Definition: MeshColoring.cpp:124
static std::size_t type_to_dim(std::string coloring_type, const Mesh &mesh)
Convert coloring type to topological dimension.
Definition: MeshColoring.cpp:170
static const std::vector< std::size_t > & color_cells(Mesh &mesh, std::string coloring_type)
Definition: MeshColoring.cpp:45
static std::size_t compute_colors(const Mesh &mesh, std::vector< std::size_t > &colors, const std::vector< std::size_t > &coloring_type)
Definition: MeshColoring.cpp:101
static const std::vector< std::size_t > & color(Mesh &mesh, const std::vector< std::size_t > &coloring_type)
Definition: MeshColoring.cpp:58
Definition: MeshColoring.h:39