#include <t4mesh.h>
Basic (Simple) Tetrahedra Mesh.
This tetrahedra mesh data structure is designed specially for two purposes: It should maintain a valid topology of the mesh at all times, that is the connectivity of nodes and tetrahedra are always valid.
The other purpose is to make sure that the global indexing of nodes (0..N-1) and tetrahedra (0..T-1) always is a compact range starting from zero to the maximum number minus one.
Obviously removing entities (nodes or tetrahedra) alters the global index ranges, thus end users can not trust previously stored indices of entities in their own apps.
The mesh takes three template arguments. The first specifies the math_types used in the mesh. The following two arguments are node traits and tetrahedron traits respectively. Currently these template arguments are set to meaningfull defaults.