tet_mesh_volumes_test, a C++ code which calls tet_mesh_volumes(), which computes the volume of every tetrahedron in a tet mesh.
The information on this web page is distributed under the MIT license.
tet_mesh_volumes, a C++ 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.