optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
116 stars 34 forks source link

IO: add missing PCells section in VTK parallel files #388

Closed andrea-iob closed 1 year ago

andrea-iob commented 1 year ago

It seems that pvtu files should contain a PCells section. I wasn't able to find any documentation about which sections are required in those files. What I did, was adding a PCells section with a list of cell-related arrays that will be contained in the vtu files associated with the collection.

I'm not able to properly test the changes, because ParaView is able to open the pvtu files generated by bitpit even without these changes.