tet_mesh_volumes


tet_mesh_volumes, a C++ code which computes the volume of every tetrahedron in a tet mesh.

Usage:

tet_mesh_volume prefix
where prefix is the common file prefix:

The element definition file will list node indices. In C++, it may be more natural to use 0-based indices. This program will accept an element definition file that is 0-based or 1-based, and will convert a 1-based input file so that it becomes 0-based internal to the program. The detection of 1-based data is determined by the absence of the use of a 0 index, and the use of an index equal to the number of nodes. This is an implicit and fallible, but reasonable, way to handle this problem.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

tet_mesh_volumes is available in a C++ version and a Fortran90 version and a MATLAB version.

Related Data and Programs:

tet_mesh_volumes_test

tet_mesh, a C++ code which carries out various operations on tetrahedral meshes.

tet_mesh_boundary, a C++ 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_opengl, a C++ code which reads a 3D tet mesh and displays the nodes and edges using OpenGL.

tet_mesh_l2q, a C++ code which reads information about a 4-node (linear) tet mesh and creates data defining a corresponding 10-node (quadratic) tet mesh;

tet_mesh_order4, a data directory which contains a description of a linear tet mesh of a set of 3D points, using a pair of files to list the node coordinates and the 4 nodes that make up each tetrahedron;

tet_mesh_order4, a dataset directory which contains examples of order 4 tetrahedral meshes.

tet_mesh_order10, a data directory which contains a description of a quadratic tet mesh of a set of 3D points, using a pair of files to list the node coordinates and the 10 nodes that make up each tetrahedron;

tet_mesh_order10, a dataset directory which contains examples of order 10 tetrahedral meshes.

tet_mesh_q2l, a C++ code which reads information about a 10-node (quadratic) tet mesh and creates data defining a corresponding 4-node (linear) tet mesh;

tet_mesh_quality, a C++ code which computes quality measures of a tetrahedral mesh.

tet_mesh_rcm, a C++ code which computes the reverse Cuthill-McKee reordering for the nodes of a tet mesh that uses 4-node or 10-node tetrahedrons;

TET_MESH_REFINE, a C++ code which refines a tet mesh;

tet_mesh_tet_neighbors, a data directory which contains examples of TET_MESH_TET_NEIGHBOR files, description of a format for tetrahedron adjacency information in a tetrahedral mesh of 3D points;

tet_mesh_tet_neighbors, a C++ code which reads information about a tet mesh and writes out a list of the tetrahedrons that are adjacent to a given tetrahedron;

Source Code:


Last revised on 29 April 2020.