[Paraview] vtkWedge::Triangulate() returns inverted tetrahedron

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Sat Aug 30 22:11:39 EDT 2008


Hi there,

I got a negative volume whose absolute value is also incorrect for a
mesh with all VTK_WEDGEs. To replicate,

1. Open the attached wedge.vtk.
2. Apply Integrate Variables.
3. Choose Cell Data from the combo box at the top of spreadsheet view.

The volume is shown as -0.166667 instead of the expected value of
0.5. Looks like this is because vtkWedge::Triangulate() is returning
an inverted tetrahedron at line 244 of vtkIntegrateAttributes.cxx.

The tracker ID is 7588.

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
-------------- next part --------------
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 6 float
0 0 0 1 0 0 0 1 0 
0 0 1 1 0 1 0 1 1 

CELLS 1 7
6 0 2 1 3 5 4 

CELL_TYPES 1
13



More information about the ParaView mailing list