reorder_mesh
Reordering option to be used in a discretisation : the geometrical entities (nodes, elems, faces) of a mesh can be reordered to follow a Z-curve (Hilbert or Morton) improving data locality in memory.
Parameters:
- [algo] (type: string into ['none', 'morton', 'hilbert']) Z-Curve algorithm to use for geometrical entity renumbering.
- [dump] (type: flag) if set, will dump text files giving the numbering of the various geometrical entities before and after renumbering. Mainly used for debugging.
- [no_nodes] (type: flag) Whether to avoid node reordering.
- [no_elems] (type: flag) Whether to avoid element reordering.
- [no_faces] (type: flag) Whether to avoid face reordering.