IOSS Reader: Add transformation for 2D vectors to 3D similar to previous Exodus Reader
This is to try to address these issues in ParaView:
paraview/paraview#21745 (closed) paraview/paraview#21517 (closed) paraview/paraview#21237 (closed)
This is a first attempt that seems to work as paraview/paraview#21517 (closed) says it is unlikely to be addressed by kitware.
The problem: ParaView expects 3D arrays for WarpByVector and Glyph but IOSS produces 2D arrays. The legacy exodus reader does this as well, see
https://gitlab.kitware.com/wortiz/vtk/-/blob/master/IO/Exodus/vtkExodusIIReader.cxx#L1620-1621 https://gitlab.kitware.com/wortiz/vtk/-/blob/master/IO/Exodus/vtkExodusIIReader.cxx#L1640-1691
I'm not very familiar with IOSS or VTK so maybe there is a better way to do this?
This worked on some basic 2D datasets for me and 3D still seemed to work but I didn't do a lot of testing.