tet_mesh_refine ( 'cube_order4_nodes.txt', 'cube_order4_tetras.txt' ) 25-Jan-2007 21:33:34 TET_MESH_REFINE: MATLAB 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). Read the header of "cube_order4_nodes.txt". Spatial dimension DIM_NUM = 3 Number of points NODE_NUM1 = 8 Read the data in "cube_order4_nodes.txt". First 5 input nodes: Row: 1 2 3 Col 1 0.000000 0.000000 0.000000 2 0.000000 0.000000 1.000000 3 0.000000 1.000000 0.000000 4 0.000000 1.000000 1.000000 5 1.000000 0.000000 0.000000 Read the header of "cube_order4_tetras.txt". Tetrahedron order = 4 Number of tetras = 6 Read the data in "cube_order4_tetras.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 Number of refined nodes = 27 Number of refined tetras = 48 First 5 refined nodes: Row: 1 2 3 Col 1 0.000000 0.000000 0.000000 2 0.000000 0.000000 1.000000 3 0.000000 1.000000 0.000000 4 0.000000 1.000000 1.000000 5 1.000000 0.000000 0.000000 First 5 refined tetrahedrons Row: 1 2 3 4 Col 1 4 16 19 11 2 3 16 17 10 3 5 19 17 10 4 1 11 10 12 5 16 19 11 10 Wrote the refined nodes to "cube_order4_nodes.ref.txt". Wrote the refined tetrahedrons to "cube_order4_tetras.ref.txt". TET_MESH_REFINE: Normal end of execution. 25-Jan-2007 21:33:36