**tet_mesh_refine_test**,
a MATLAB program which
calls tet_mesh_refine() to refine every tetrahedron
in a tet mesh, replacing each tetrahedron by 8 subtetrahedrons.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

tet_mesh_refine, a MATLAB program which refines a tet mesh;

- tet_mesh_refine_test.m, calls all the tests.
- tet_mesh_refine_test.sh, runs all the tests.
- tet_mesh_refine_test.txt, the output file.

**CUBE** defines an order 4 test mesh on a cube:

- cube_nodes.txt, the nodes for the 4-node tet mesh.
- cube_elements.txt, the tetras for the 4-node tet mesh.
- cube_ref_nodes.txt, the nodes for the refined tet mesh.
- cube_ref_elements.txt, the tetras for the refined tet mesh.