vtkExodusIIReader: How to Output a Partitioned Dataset Instead of a Multiblock

Dear All,

This post follows up on Mathieu Westphal’s publication regarding the transition from multiblock structures to partitioned datasets: (Transition from multiblock to partitioned datasets in VTK and ParaView, a complete guide)
In that post, it is suggested that using partitioned datasets is preferable to using multiblocks, particulalry to avoid depreciation.

In my case, I’m working with ExodusII files, which I read using the vtkExodusIIReader() class. When I call GetOutput(), it returns a multiblock dataset.

My questions are:

  • Is there a way to directly obtain a partitioned dataset instead of a multiblock from this reader?

  • If so, which command(s) should be used to achieve that?

Any guidance is much appreciated.

Thank you very much !

Momo

Hello @GeoMomo

Use vtkIOSSReader instead of vtkExodusIIReader.

Best,

Thank you for your quick response !

1 Like