LaGriT Example:  sort and reorder Element and Node Numbers Based on Multi-Key Sort of Coordinates 




01_random_points
02_random_points_node_id
03_reorder_points_node_id
04_random_points_connect
05_random_points_connect_elem_id

input.lgi

*--* ex_reorder
*--* Header Begin
*--* LAGriT Example Input file
* Carl Gable
* gable -at- lanl -dot- gov
*
*
*--* Create a random point distribution
*--* Connect them into a tet mesh
*--* Sort and reorder the nodes using a multi-key sort of the
*--* node coordinates.
*--*
*--* Add attributes id_node1 and id_node2 with the node numbers
*--* before and after SORT and REORDER
*--*
*--*----------------------------------------------------
*--* Header End
*--* ex_reorder
*--*