[vtkusers] question about vtkMeshQuality.cxx

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jul 19 14:22:34 EDT 2004


Philippe P. Pebay wrote:
> Hi
> 
> I was looking at using vtkMeshQuality for some paper results, but it 
> seems that the name of this class is too generic, because:
> 1. it only addresses tetrahedral meshes
> 2. in the case of tetrahedral meshes, there are many quality measures 
> that can be used, but this class only provides the "radius-ratio" 
> (normalized circumradius / inradius).
> 
> I haven't seen any other quality metrics in VTK; would anyone mind if we 
> revise vtkMeshQuality to compute various quality measures on several 
> different types of cells ?  We would like to compute the following 
> quality measures:
> 1. tetrahedral meshes: radius-ratio, aspect-ratio, shape measures 
> (Frobenius-like), etc.
> 2. hexahedral meshes
> 3. triangular and quadrilateral elements: various measures in the 
> literature.

Patch will be very welcome :)

> Also, I noticed that the Execute method in vtkMeshQuality.cxx declares 
> p# and dp# (#= 1,2,3,4) as double arrays, and then copies p's into dp's. 
> But it appears that dp's are never altered, so why do 2 copies of the 
> points exist ?

Thanks for quality feedback, I'll fix this ASAP.

Thanks,
Mathieu





More information about the vtkusers mailing list