tet_mesh_volumes_test, a MATLAB code which calls tet_mesh_volumes(), which computes the volume of every tetrahedron in a tet mesh.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
tet_mesh_volumes, a MATLAB code which computes the volume of each tetrahedron in a tet mesh;
CUBE is the 8 vertices of the unit cube [0,1]x[0,1]x[0,1], defining 6 elements of equal volume but not equal shape.
TWENTY is 20 random nodes, defining 70 elements.