ADIOS2VTXReader ignores data arrays whose name contains a parenthesis
I was saving a vector by components, resulting in a .bp
file that looks kinda like this
$ /home/mleoni/opt/ADIOS2/install/bin/bpls -al displacement.bp/
double Body force [12]*{__, 1} = -3.97099e+10 / 3.44972e+10
double Body force x [12]*{__, 1} = -4.29156e+10 / 3.38273e+10
uint32_t NumberOfCells {12} = 352820 / 361812
uint32_t NumberOfNodes {12} = 368285 / 377857
int64_t connectivity [12]*{__, 9} = 0 / 377856
double geometry [12]*{__, 3} = -3.22178 / 14.8404
double step scalar = 0
uint32_t types scalar = 72
string vtk.xml attr =
<VTKFile type="UnstructuredGrid" version="0.1">
<UnstructuredGrid>
<Piece NumberOfPoints="NumberOfNodes" NumberOfCells="NumberOfCells">
<Points>
<DataArray Name="geometry" />
</Points>
<Cells>
<DataArray Name="connectivity" />
<DataArray Name="types" />
</Cells>
<PointData>
<DataArray Name="TIME">step</DataArray>
<DataArray Name="vtkOriginalPointIds" />
<DataArray Name="vtkGhostType" />
</PointData>
<CellData>
<DataArray Name="Body force x" />
<DataArray Name="Body force (y)" />
<DataArray Name="Body force (z)" />
</CellData>
</Piece>
</UnstructuredGrid>
</VTKFile>
uint8_t vtkGhostType [12]*{__} = 0 / 1
int64_t vtkOriginalPointIds [12]*{__} = 0 / 4312439
Notice the three DataArray
in the lower part but the single x component in the upper part of the output.
When opening the file in ParaView, only the x component shows up.
I'm not sure whether Paraview or ADIOS2 is to blame here...