I have a Newton optimizer and I am exporting some data in the form of a HDF5. The HDF5 file contains the results of the optimization process, which are triangle meshes, so I am loading them in paraview.
In addition, the HDF5 file contains information about how the optimization went, so I have a json like structure with information about the number of newton iterations, the newton error. For each Newton iteration I store the number of iterations of the inner linear solver and the number of iterations of a line search process and so on. Basically, I have a tree like structure where each node in the tree may contain different amounts of attributes.
Since I am already using paraview to read the geometric data, I was looking for an appropiate VTK structure to store the rest of the data in the HDF5 file. I have looked into VTKTree, but apparently, all the nodes contains the same amount of attributes.
Is there any VTK structure which I can use to parse this type of information?