21-Sep-2024 13:58:42 triangulation_l2q_test(): MATLAB/Octave version 6.4.0 Test triangulation_l2q(). 21-Sep-2024 13:58:42 TRIANGULATION_L2Q MATLAB/Octave version 6.4.0 Read a "linear" triangulation and write out a "quadratic" triangulation. Read a dataset of NODE_NUM1 points in 2 dimensions. Read an associated triangulation dataset of TRIANGLE_NUM triangles which uses 3 nodes per triangle. Create new nodes which are triangle midpoints, generate new node and triangulation data for quadratic 6-node triangles, and write them out. Read the header of "example_nodes.txt". Spatial dimension DIM_NUM = 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". Triangle order = 3 Number of triangles TRIANGLE_NUM = 24 Read the data in ""example_elements.txt". 3 by 10 portion TRIANGLE_NODE1: 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. Number of midside nodes to add = 43 Triangle_neighbor Row: 1 2 3 Col 1: -1 2 -1 2: 1 7 3 3: -1 2 4 4: 3 9 5 5: 4 6 -1 6: 11 -1 5 7: -1 8 2 8: 7 13 9 9: 4 8 10 10: 9 15 11 11: 10 12 6 12: 17 -1 11 13: -1 14 8 14: 13 19 15 15: 10 14 16 16: 15 21 17 17: 16 18 12 18: 23 -1 17 19: -1 20 14 20: 19 -1 21 21: 16 20 22 22: 21 -1 23 23: 22 24 18 24: -1 -1 23 Generate midside nodes 21 0.000000 0.500000 22 0.500000 0.000000 23 0.500000 0.500000 24 0.500000 1.000000 25 1.000000 0.500000 26 0.500000 1.500000 27 0.000000 1.500000 28 0.500000 2.000000 29 1.000000 1.500000 30 0.000000 2.500000 31 0.500000 2.500000 32 1.000000 2.500000 33 0.500000 3.000000 34 1.500000 0.000000 35 1.500000 0.500000 36 1.500000 1.000000 37 2.000000 0.500000 38 1.500000 1.500000 39 1.500000 2.000000 40 2.000000 1.500000 41 1.500000 2.500000 42 2.000000 2.500000 43 1.500000 3.000000 44 2.500000 0.000000 45 2.500000 0.500000 46 2.500000 1.000000 47 3.000000 0.500000 48 2.500000 1.500000 49 2.500000 2.000000 50 3.000000 1.500000 51 2.500000 2.500000 52 3.000000 2.500000 53 2.500000 3.000000 54 3.500000 0.000000 55 3.500000 0.500000 56 3.500000 1.000000 57 4.000000 0.500000 58 3.500000 1.500000 59 3.500000 2.000000 60 4.000000 1.500000 61 3.500000 2.500000 62 4.000000 2.500000 63 3.500000 3.000000 TRIANGLE_NODE2 Row: 1 2 3 4 5 6 Col 1: 6 1 2 21 22 23 2: 7 6 2 24 23 25 3: 7 11 6 26 27 24 4: 12 11 7 28 26 29 5: 16 11 12 30 28 31 6: 16 12 17 31 32 33 7: 7 2 3 25 34 35 8: 8 7 3 36 35 37 9: 8 12 7 38 29 36 10: 13 12 8 39 38 40 11: 17 12 13 32 39 41 12: 17 13 18 41 42 43 13: 8 3 4 37 44 45 14: 9 8 4 46 45 47 15: 9 13 8 48 40 46 16: 14 13 9 49 48 50 17: 18 13 14 42 49 51 18: 18 14 19 51 52 53 19: 9 4 5 47 54 55 20: 10 9 5 56 55 57 21: 10 14 9 58 50 56 22: 15 14 10 59 58 60 23: 19 14 15 52 59 61 24: 19 15 20 61 62 63 NODE_XY2: 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.000000 0.500000 22: 0.500000 0.000000 23: 0.500000 0.500000 24: 0.500000 1.000000 25: 1.000000 0.500000 26: 0.500000 1.500000 27: 0.000000 1.500000 28: 0.500000 2.000000 29: 1.000000 1.500000 30: 0.000000 2.500000 31: 0.500000 2.500000 32: 1.000000 2.500000 33: 0.500000 3.000000 34: 1.500000 0.000000 35: 1.500000 0.500000 36: 1.500000 1.000000 37: 2.000000 0.500000 38: 1.500000 1.500000 39: 1.500000 2.000000 40: 2.000000 1.500000 41: 1.500000 2.500000 42: 2.000000 2.500000 43: 1.500000 3.000000 44: 2.500000 0.000000 45: 2.500000 0.500000 46: 2.500000 1.000000 47: 3.000000 0.500000 48: 2.500000 1.500000 49: 2.500000 2.000000 50: 3.000000 1.500000 51: 2.500000 2.500000 52: 3.000000 2.500000 53: 2.500000 3.000000 54: 3.500000 0.000000 55: 3.500000 0.500000 56: 3.500000 1.000000 57: 4.000000 0.500000 58: 3.500000 1.500000 59: 3.500000 2.000000 60: 4.000000 1.500000 61: 3.500000 2.500000 62: 4.000000 2.500000 63: 3.500000 3.000000 TRIANGULATION_L2Q Normal end of execution. 21-Sep-2024 13:58:42 triangulation_l2q_test(): Normal end of execution. 21-Sep-2024 13:58:42