mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamToVTK::vtkTopo: Apply fix from #1633
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2213
This commit is contained in:
@ -154,14 +154,14 @@ Foam::vtkTopo::vtkTopo(const polyMesh& mesh)
|
|||||||
}
|
}
|
||||||
else if (cellModel == tetWedge)
|
else if (cellModel == tetWedge)
|
||||||
{
|
{
|
||||||
// Treat as squeezed prism
|
// Treat as squeezed prism (VTK_WEDGE)
|
||||||
vtkVerts.setSize(6);
|
vtkVerts.setSize(6);
|
||||||
vtkVerts[0] = cellShape[0];
|
vtkVerts[0] = cellShape[0];
|
||||||
vtkVerts[1] = cellShape[2];
|
vtkVerts[1] = cellShape[2];
|
||||||
vtkVerts[2] = cellShape[1];
|
vtkVerts[2] = cellShape[1];
|
||||||
vtkVerts[3] = cellShape[3];
|
vtkVerts[3] = cellShape[3];
|
||||||
vtkVerts[4] = cellShape[4];
|
vtkVerts[4] = cellShape[4];
|
||||||
vtkVerts[5] = cellShape[4];
|
vtkVerts[5] = cellShape[3];
|
||||||
|
|
||||||
cellTypes_[celli] = VTK_WEDGE;
|
cellTypes_[celli] = VTK_WEDGE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user