When an anisotropic metric is defined on each mesh point, the quality is more difficult to define.
In Mmg3d , we choose to calculate the tetrahedron quality as its quality measured on the euclidian space relative to an average metric defined on the tetrahedron.
Lets , , , the vertex of . The average quality on is given by the following formula:
The following expression gives the quality of on the metric
:
NB :
Such a criterion allows to decide if a simplex is a good element. You can notice that the quality
varies in
and that the smaller the volume of the tetrahedra is and the higher
is.