I am trying to use HyperSlab in a simple XDMF example. The example includes two triangular elements. The first column of the original connectivity matrix is the element ID:
1 0 1 3
2 0 3 2
So I am using HyperSlab in order to read only the last three columns:
0 1 3
0 3 2
But Paraview does not read the XDMF file correctly. Does anybody know what may be the cause? I used ParaView 5.8.0
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="3.0">
<Domain>
<Grid Name="mesh" GridType="Uniform">
<Topology TopologyType="Triangle" NodesPerElement ="3">
<DataItem ItemType="HyperSlab" Dimensions="2 3" Type="HyperSlab">
<DataItem Dimensions="3 2" Format="XML">
0 1
1 1
2 3
</DataItem>
<DataItem ItemType="Uniform" Dimensions="2 4" Format="XML">
1 0 1 3
2 0 3 2
</DataItem>
</DataItem>
</Topology>
<Geometry GeometryType="XY">
<DataItem Dimensions="4 2" Format="XML">
0 0
1 0
0 1
1 1
</DataItem>
</Geometry>
</Grid>
</Domain>
</Xdmf>