14#include <lagrange/SurfaceMesh.h>
37template <
typename Scalar,
typename Index>
Main namespace for Lagrange.
ReorderingMethod
Mesh reordering method to apply before decimation.
Definition reorder_mesh.h:21
@ Lexicographic
Sort vertices/facets lexicographically.
Definition reorder_mesh.h:22
@ None
Do not reorder mesh vertices/facets.
Definition reorder_mesh.h:25
@ Hilbert
Spatial sort vertices/facets using Hilbert curve.
Definition reorder_mesh.h:24
@ Morton
Spatial sort vertices/facets using Morton encoding.
Definition reorder_mesh.h:23
void reorder_mesh(SurfaceMesh< Scalar, Index > &mesh, ReorderingMethod method)
Mesh reordering to improve cache locality.
Definition reorder_mesh.cpp:178