TET_MESH_Q2L is an executable MATLAB program, using double precision arithmetic, which reads information describing a tet mesh of a set of points using 10-node ("quadratic") triangles, and creates a 4-node ("linear") tet mesh.
The same nodes are used, but each 10-node tetrahedron is broken up into 8 smaller 4-node tetrahedrons.
The input and output files use the simple TABLE format; comment lines begin with a "#" character. Otherwise, each line of the file contains one set of information, either the coordinates of a node (for a node file), or the indices of nodes that make up a tetrahedron, (for a tetrahedron file).
The input file tetras.txt contains the tetrahedron information for the 10-node tet mesh. Each line contains the indices of 10 nodes that form a tetrahedron, in a particular order. The first 4 indices are the vertices. Subsequent nodes can be described by the pair of vertices they lie between, as follows:
1 2 3 4 (1+2) (1+3) (1+4) (2+3) (2+4) (3+4)
The output file tetras.l2q.txt contains the tetrahedron information for the 4-node tet mesh.
CVT_TET_MESH is a FORTRAN90 library which uses CVT methods to compute a tet mesh in a region.
GEOMPACK is a MATLAB library which contains a routine DTRIS3 that can compute the tet mesh for a set of 3D points, as well as the adjacency information.
MATLAB has a command delaunay3 that can compute the tet mesh for a set of 3D points.
TABLE_TET_MESH is an executable FORTRAN90 program which can compute the tet mesh for a given set of points.
TEST_TET_MESH is a FORTRAN90 library which defines a few test regions for the generation of a tet mesh.
TET_MESH is a MATLAB library which includes a variety of routines for working with tetrahedral meshes.
TET_MESH_DISPLAY is an executable MATLAB program which can read in the node and tetra files defining a tet mesh and display a wireframe image.
TET_MESH_DISPLAY_OPEN_GL is an executable C++ program which reads a tet mesh and displays the nodes and edges using OpenGL.
TET_MESH_L2Q is an executable MATLAB program which converts a linear to quadratic tet mesh.
TET_MESH_ORDER4 is a directory which contains a description and examples of a tet mesh using order 4 elements.
TET_MESH_ORDER10 is a directory which contains a description and examples of a tet mesh using order 10 elements.
TET_MESH_Q2L is also available in a FORTRAN90 version and a C++ version.
TET_MESH_QUALITY is an executable MATLAB program which computes the "quality" of a mesh.
TET_MESH_RCM is an executable MATLAB program which takes a 4-node or 10-node tet mesh and relabels the nodes to reduce the bandwidth of the corresponding adjacency matrix.
TET_MESH_REFINE is an executable MATLAB program which can refine a tet mesh.
TET_MESH_TET_NEIGHBORS is an executable MATLAB program which computes the tetrahedral adjacency information.
A GZIP'ed TAR file of the contents of this directory is available. This is only done as a convenience for users who want ALL the files, and don't want to download them individually. This is not a convenience for me, so don't be surprised if the tar file is somewhat out of date.
You may copy data for an example problem:
You can go up one level to the MATLAB source codes.