29 April 2020 12:45:26 PM TET_MESH_REFINE C++ version READ a tet mesh, REFINE it, and WRITE the new data. READ: a node dataset of NODE_NUM1 points in 3 dimensions. a tet mesh of TETRA_NUM1 tets of order TET_ORDER. REFINE: compute a new set of nodes and tets, which is an eightfold refinement of the input mesh. WRITE: a node dataset of NODE_NUM2 points in 3 dimensions. a tet mesh of 8*TETRA_NUM1 tets of order TET_ORDER. At the moment, this program only works for a linear mesh (TET_ORDER=4). Compiled on Apr 29 2020 at 12:45:07. Read the header of "cube_nodes.txt". Spatial dimension = 3 Number of nodes = 8 Read the data in "cube_nodes.txt". First 5 input nodes: Row: 1 2 3 Col 1 0 0 0 2 0 0 1 3 0 1 0 4 0 1 1 5 1 0 0 Read the header of "cube_elements.txt". Tetrahedron order = 4 Number of tetras = 6 Read the data in "cube_elements.txt". First 5 input tetrahedrons: Row: 1 2 3 4 Col 1 4 3 5 1 2 4 2 5 1 3 4 7 3 5 4 4 7 8 5 5 4 6 2 5 TET_MESH_BASE_ZERO: The element indexing appears to be 1-based! This will be converted to 0-based. Number of refined nodes = 27 Number of refined tetras = 48 First 5 output nodes: Row: 1 2 3 Col 1 0 0 0 2 0 0 1 3 0 1 0 4 0 1 1 5 1 0 0 First 5 output tetras Row: 1 2 3 4 Col 1 3 16 19 11 2 2 16 17 10 3 4 19 17 10 4 0 11 10 12 5 16 19 11 10 Wrote the file "cube_ref_nodes.txt". Wrote the file "cube_ref_elements.txt". TET_MESH_REFINE: Normal end of execution. 29 April 2020 12:45:26 PM