tet_mesh_tet_neighbors, a MATLAB code which reads information defining a tet mesh of points in 3D, and determines, for each face of each tetrahedron, the index of the neighboring tetrahedron that shares that face.
The tet mesh is defined by a node file containing the coordinates of nodes, and a tetra file containing sets of 4 or 10 node indices. For this calculation, though, only the tetra file is needed.
If a tetrahedron is on the boundary, then one or more of its faces will not be shared by any tetrahedron. Such cases will be indicated by specifying the corresponding neighbor value as -1.
tet_mesh_tet_neighbors 'prefix'where 'prefix' is the common file prefix:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
tet_mesh_tet_neighbors is available in a C++ version and a FORTRAN90 version and a MATLAB version.
neighbors_to_metis_graph, a MATLAB code which reads a tet mesh neighbor file created by tet_mesh_tet_neighbors and writes a modified version of the same data suitable for input to the mesh partitioning program metis.
tet_mesh, a MATLAB code which is useful for work with tet meshes.
tet_mesh_boundary, a MATLAB code which returns the nodes and faces of the boundary of a tetrahedral mesh, which themselves form a 3d triangular mesh or "tri_surface".
tet_mesh_display, a MATLAB code which can read in the node and tetra files defining a tet mesh and display a wireframe image.
tet_mesh_l2q, a MATLAB code which converts a linear to quadratic tet mesh.
tet_mesh_order4, a directory which contains a description and examples of a tet mesh using order 4 elements.
tet_mesh_order10, a directory which contains a description and examples of a tet mesh using order 10 elements.
tet_mesh_q2l, a MATLAB code which can convert a quadratic (10-node) tet mesh to a linear (4-node) tet mesh.
tet_mesh_quality, a MATLAB code which can compute the quality of a tet mesh.
tet_mesh_rcm, a MATLAB code which takes a tet mesh and relabels the nodes to reduce the bandwidth of the corresponding adjacency matrix.
tet_mesh_refine, a MATLAB code which can refine a tet mesh.
tet_mesh_tet_neighbors, a directory which includes a description and examples of the tet mesh tetrahedron neighbor data format.
tet_mesh_volumes, a MATLAB code which computes the volume of each tetrahedron in a tet mesh;
voronoi_neighbors, a MATLAB code which is given a set of points in the plane and determines the voronoi adjacency structure, that is, which points share an edge of the voronoi diagram.