01-Sep-2024 10:20:27 triangulation_t3_to_t4_test(): MATLAB/Octave version 6.4.0 Test triangulation_t3_to_t4(). 01-Sep-2024 10:20:27 TRIANGULATION_T3_TO_T4 MATLAB/Octave version 6.4.0 Read a "linear" T3 triangulation and write out a "bubble" T4 triangulation. Read a dataset of NODE_NUM points in 2 dimensions. Read an associated triangulation dataset of ELEMENT_NUM elements which uses 3 nodes per element. Create new nodes which are element centroids, generate new node and triangulation data for 4-node "bubble" elements, and write them out. Read the header of "example_nodes.txt". Spatial dimension M = 2 Number of points NODE_NUM1 = 20 Read the data in "example_nodes.txt". 5 by 5 portion of data read from file: Row: 1 2 Col 1 0.000000 0.000000 2 1.000000 0.000000 3 2.000000 0.000000 4 3.000000 0.000000 5 4.000000 0.000000 Read the header of ""example_elements.txt". Element order = 3 Number of elements ELEMENT_NUM = 24 Read the data in ""example_elements.txt". 3 by 10 portion ELEMENT_NODE_T3: 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_ONE: The element indexing appears to be 1-based! No conversion is necessary. ELEMENT_NODE_T4 Row: 1 2 3 4 Col 1 6 1 2 21 2 7 6 2 22 3 7 11 6 23 4 12 11 7 24 5 16 11 12 25 6 16 12 17 26 7 7 2 3 27 8 8 7 3 28 9 8 12 7 29 10 13 12 8 30 11 17 12 13 31 12 17 13 18 32 13 8 3 4 33 14 9 8 4 34 15 9 13 8 35 16 14 13 9 36 17 18 13 14 37 18 18 14 19 38 19 9 4 5 39 20 10 9 5 40 21 10 14 9 41 22 15 14 10 42 23 19 14 15 43 24 19 15 20 44 NODE_XY_T4: Row: 1 2 Col 1 0.000000 0.000000 2 1.000000 0.000000 3 2.000000 0.000000 4 3.000000 0.000000 5 4.000000 0.000000 6 0.000000 1.000000 7 1.000000 1.000000 8 2.000000 1.000000 9 3.000000 1.000000 10 4.000000 1.000000 11 0.000000 2.000000 12 1.000000 2.000000 13 2.000000 2.000000 14 3.000000 2.000000 15 4.000000 2.000000 16 0.000000 3.000000 17 1.000000 3.000000 18 2.000000 3.000000 19 3.000000 3.000000 20 4.000000 3.000000 21 0.333333 0.333333 22 0.666667 0.666667 23 0.333333 1.333333 24 0.666667 1.666667 25 0.333333 2.333333 26 0.666667 2.666667 27 1.333333 0.333333 28 1.666667 0.666667 29 1.333333 1.333333 30 1.666667 1.666667 31 1.333333 2.333333 32 1.666667 2.666667 33 2.333333 0.333333 34 2.666667 0.666667 35 2.333333 1.333333 36 2.666667 1.666667 37 2.333333 2.333333 38 2.666667 2.666667 39 3.333333 0.333333 40 3.666667 0.666667 41 3.333333 1.333333 42 3.666667 1.666667 43 3.333333 2.333333 44 3.666667 2.666667 Wrote the T4 nodes to "example_t4_nodes.txt". Wrote the T4 elements to "example_t4_elements.txt". TRIANGULATION_T3_TO_T4 Normal end of execution. 01-Sep-2024 10:20:27 triangulation_t3_to_t4_test(): Normal end of execution. 01-Sep-2024 10:20:27