"VTK_LAGRANGE_CURVE" not displaying correctly
I had some problems displaying an unstructured grid with arbitrary order Lagrange curves, VTK_LAGRANGE_CURVE with cell type 68.
Unfortunately it did not wort properly.
ParaView 5.7.0: The file was loaded correct but changing the "Nonlinear Subdivision Level"-setting did not change the rendering of the curve.
I then tried ParaView 5.10.0. RC1 and also 5.11.0: In these versions the grid loads correctly changing the "Nonlinear Subdivision Level"-setting to 0 displays the correct linear representation of the curve. But changing it to any value >1, ParaView crashes.
Can anyone confirm this issue?
Changing the element type to Bezier curve 75 for testing gave me the following results:
- ParaView 5.7.0 cannot load the file, as expected.
- ParaView 5.10.0. RC1 and 5.11.0 display the curve and rendering with different values of "Nonlinear Subdivision Level" works as expected.
A minimal vtu file of a mesh I encountered this with is given below.
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="0.1">
<UnstructuredGrid>
<Piece NumberOfPoints="4" NumberOfCells="1">
<Points>
<DataArray type="Float32" NumberOfComponents="3" format="ascii">
0 1 0
0.33 0.8 0
0.66 0.5 0
1 0 0
</DataArray>
</Points>
<Cells>
<DataArray type="UInt32" Name="connectivity" format="ascii">
0 3 1 2
</DataArray>
<DataArray type="UInt32" Name="offsets" format="ascii">
4
</DataArray>
<DataArray type="UInt32" Name="types" format="ascii">
68
</DataArray>
</Cells>
</Piece>
</UnstructuredGrid>
</VTKFile>