[vtkusers] error when using vtkMeshQuality filter

Vines, John (Civ, ARL/CISD) jvines at arl.army.mil
Wed Jun 15 12:35:18 EDT 2005


Hello All,

I need some help with the vtkMeshQuality filter.  My task is to convert nodal values to cell centered values, then convert to a tetrahedral mesh and get the volume of the each cell.  I am using the vtkMeshQuality filter.  I keep getting "Unable to factor linear system".  Any ideas??

Here is a snippet from my code(python):
#convert point to cell data
p2c = vtkPointDataToCellData()
p2c.SetInput( XDMF Dataset )
p2c.Update()
		
#convert genlap data from hexs to tets
tets = vtkDataSetTriangleFilter()
tets.SetInput( p2c.GetOutput() )
tets.Update()

#use vtkMeshQuality filter to calculate the volume of the tets
vol = vtkMeshQuality()
vol.SetInput( tets.GetOutput() )
vol.VolumeOn()
vol.RatioOn()
vol.Update() 

Thank you for any help, have a good day!
John
Army Research Lab
Scientific Visualization Team




More information about the vtkusers mailing list