TET_MESH_RCM is a MATLAB program which computes the reverse Cuthill-McKee (RCM) reordering for nodes in a tetrahedral mesh ("tet mesh").
The user supplies a node file and a tetrahedron file, containing the coordinates of the nodes, and the indices of the nodes that make up each tetrahedron. Either 4-node or 10-node tetrahedrons may be used.
The program reads the data, computes the adjacency information, carries out the RCM algorithm to get the permutation, applies the permutation to the nodes and tetrahedrons, and writes out new node and tetrahedron files that correspond to the RCM permutation.
Note that the node file would normally contain exactly 3 values on each line, namely the X, Y and Z coordinates of the nodes. However, this is not necessary. Extra information can be included on each line, for instance, a "W" coordinate. Each line should include the same number of items, but all will be permuted correctly together. The program does not actually need to know the coordinates of the nodes, so in fact, ANY data (as long as it is real numeric data) associated with the nodes can be listed in the node file, and will be correctly permuted.
tet_mesh_rcm '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.
CVT_TET_MESH is a FORTRAN90 program which uses CVT techniques to compute a tet mesh in a region.
MESH_BANDWIDTH is a MATLAB program which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of arbitrary dimension.
QUAD_MESH_RCM, a MATLAB program which computes the reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.
RCM is a MATLAB library which carries out reverse Cuthill-McKee computations.
TABLE_TET_MESH is a FORTRAN90 program which can compute a tet mesh of a given set of points.
TEST_TET_MESH is a FORTRAN90 library of routines defining regions for which a tet mesh is desired.
TET_MESH is a MATLAB library which works with tet meshes.
TET_MESH_DISPLAY is a 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 a C++ program which reads a tet mesh and displays the nodes and edges using OpenGL.
TET_MESH_L2Q is a 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 a MATLAB program which converts a quadratic (10-node) to linear (4-node) tetrahedral mesh.
TET_MESH_QUALITY is a MATLAB program which computes the quality of a tetrahedral mesh.
TET_MESH_RCM is available in a C++ version and a FORTRAN90 version and a MATLAB version.
TET_MESH_REFINE is a MATLAB program which can refine a tet mesh.
TET_MESH_TET_NEIGHBORS is a MATLAB program which computes the tetrahedron-to-tetrahedron adjacency information.
TET_MESH_VOLUMES is a MATLAB program which computes the volume of each tetrahedron in a tet mesh;
TETRAHEDRON_PROPERTIES, a MATLAB program which computes properties of a given tetrahedron.
TETRAHEDRONS, a dataset directory which contains examples of tetrahedrons;
TRIANGULATION_RCM is a MATLAB program which applies the reverse Cuthill-McKee reordering to a triangulation of 2D data.
CUBE4 is an order 4 tet mesh of a cube:
You can go up one level to the MATLAB source codes.