06 May 2020 08:39:04 PM TRIANGULATION_T3_TO_T4 C++ version: Read a 3-node T3 triangulation and write out a 4-node T4 triangulation. Read a dataset of NODE_NUM_T3 points in 2 dimensions. Read an associated triangulation dataset of ELEMENT_NUM triangles which uses 3 nodes per triangle. Create new nodes which are triangle centroids, generate new node and triangulation data for 4-node elements, and write them out. Compiled on May 6 2020 at 20:35:34. Read the header of "example_nodes.txt". Spatial dimension DIM_NUM = 2 Number of nodes NODE_NUM_T3 = 20 Read the data in "example_nodes.txt". Portion of coordinate data from file: Row: 1 2 Col 1 0 0 2 1 0 3 2 0 4 3 0 5 4 0 Read the header of "example_elements.txt". Triangle order ELEMENT_ORDER_T3 = 3 Number of elements ELEMENT_NUM = 24 Read the data in "example_elements.txt". Portion of data read from file: Row: 1 2 3 Col 1 6 1 2 2 7 6 2 3 7 11 6 4 12 11 7 5 16 11 12 6 16 12 17 7 7 2 3 8 8 7 3 9 8 12 7 10 13 12 8 MESH_BASE_ZERO: The element indexing appears to be 1-based! This will be converted to 0-based. ELEMENT_NODE_T4 Row: 1 2 3 4 Col 1 5 0 1 20 2 6 5 1 21 3 6 10 5 22 4 11 10 6 23 5 15 10 11 24 6 15 11 16 25 7 6 1 2 26 8 7 6 2 27 9 7 11 6 28 10 12 11 7 29 11 16 11 12 30 12 16 12 17 31 13 7 2 3 32 14 8 7 3 33 15 8 12 7 34 16 13 12 8 35 17 17 12 13 36 18 17 13 18 37 19 8 3 4 38 20 9 8 4 39 21 9 13 8 40 22 14 13 9 41 23 18 13 14 42 24 18 14 19 43 NODE_XY_T4: Row: 1 2 Col 1 0 0 2 1 0 3 2 0 4 3 0 5 4 0 6 0 1 7 1 1 8 2 1 9 3 1 10 4 1 11 0 2 12 1 2 13 2 2 14 3 2 15 4 2 16 0 3 17 1 3 18 2 3 19 3 3 20 4 3 21 -nan 5.53354e-322 22 1.33333 0.333333 23 2.66667 0.666667 24 1.33333 1.33333 25 2.66667 1.66667 26 1.33333 2.33333 27 0.333333 0.333333 28 0.666667 0.666667 29 0.333333 1.33333 30 0.666667 1.66667 31 0.333333 2.33333 32 0.666667 2.66667 33 1.33333 0.333333 34 1.66667 0.666667 35 1.33333 1.33333 36 1.66667 1.66667 37 1.33333 2.33333 38 1.66667 2.66667 39 2.33333 0.333333 40 2.66667 0.666667 41 2.33333 1.33333 42 2.66667 1.66667 43 2.33333 2.33333 44 2.66667 2.66667 Wrote the T4 node data to "example_t4_nodes.txt". Wrote the T4 element data to "example_t4_elements.txt". TRIANGULATION_T3_TO_T4: Normal end of execution. 06 May 2020 08:39:04 PM