To support direction dependent degrees for VTK_LAGRANGE_QUADRILATERAL cells I need to add an attribute to the CellData tag, i.e., <CellData HigherOrderDegrees="HigherOrderDegrees">, along with the cell data. For reference see https://gitlab.kitware.com/paraview/paraview/-/issues/21550.
Adding the cell data is straight forward using the supplied interface but I don't know the best way to add the attribute. My first shot was
This would loop through the key value pairs and add them as attributes to the CellData tag. Then _update_pvtk!(pvtk::PVTKFile) would copy all CellData attributes to PCellData.
To support direction dependent degrees for
VTK_LAGRANGE_QUADRILATERAL
cells I need to add an attribute to theCellData
tag, i.e.,<CellData HigherOrderDegrees="HigherOrderDegrees">
, along with the cell data. For reference see https://gitlab.kitware.com/paraview/paraview/-/issues/21550.Adding the cell data is straight forward using the supplied interface but I don't know the best way to add the attribute. My first shot was
which works except that the attribute doesn't propagate to the
PCellData
tag in the pvtu file.Is there an interface for this already? If not what do you think about the following?
This would loop through the key value pairs and add them as attributes to the
CellData
tag. Then_update_pvtk!(pvtk::PVTKFile)
would copy allCellData
attributes toPCellData
.