DOLFIN
DOLFIN C++ interface
|
This class implements renumbering algorithms for meshes. More...
#include <MeshRenumbering.h>
Static Public Member Functions | |
static Mesh | renumber_by_color (const Mesh &mesh, std::vector< std::size_t > coloring) |
This class implements renumbering algorithms for meshes.
|
static |
Renumber mesh entities by coloring. This function is currently restricted to renumbering by cell coloring. The cells (cell-vertex connectivity) and the coordinates of the mesh are renumbered to improve the locality within each color. It is assumed that the mesh has already been colored and that only cell-vertex connectivity exists as part of the mesh.