10-Apr-2019 22:21:43 triangulation_refine_test: MATLAB version Test triangulation_refine. 10-Apr-2019 22:21:43 TRIANGULATION_REFINE MATLAB version Read a "linear" or "quadratic" triangulation and write out a refined triangulation. Read a dataset of NODE_NUM1 points in 2 dimensions. Read an associated triangulation dataset of TRIANGLE_NUM triangles which uses 3 or 6 nodes per triangle. Subdivide each triangle into 4 triangles, generate new nodes as midpoints of current nodes. Write out the new node and triangulation data. If the input triangulation was Delaunay, then the output triangulation will be Delaunay. Read the header of "box3_nodes.txt". Spatial dimension DIM_NUM = 2 Number of points NODE_NUM1 = 20 Read the data in "box3_nodes.txt". First 5 nodes: 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 ""box3_elements.txt". Triangle order = 3 Number of triangles TRIANGLE_NUM1 = 24 Read the data in ""box3_elements.txt". First 5 triangles: 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 MESH_BASE_ONE: The element indexing appears to be 1-based! No conversion is necessary. Number of nodes in refined mesh = 63 Number of triangles in refined mesh = 96 First 5 output nodes: 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 First 5 output triangles: Row: 1 2 3 Col 1 6 22 24 2 22 1 21 3 24 21 2 4 21 24 22 5 7 34 25 Wrote the refined node data to ""box3_ref_nodes.txt". Wrote the refined element data to ""box3_ref_elements.txt". TRIANGULATION_REFINE Normal end of execution. 10-Apr-2019 22:21:44 triangulation_refine_test: Normal end of execution. 10-Apr-2019 22:21:44