Skip to content

XML Partitioned Dataset / Collection writers

Utkarsh Ayachit requested to merge utkarsh.ayachit/vtk:xmlwriter-fixes into master

This MR refactors XML writers for vtkPartitionedDataSet and vtkPartitionedDataSetCollection.

This also lays ground work for a simpler way of writing XML writers that does not depend on deep class hierarchy. While the code still reuses existing classes (e.g. in vtkXMLDataWriterHelper), overtime this dependence can be refactored out.

This new approach also removes the need for separate parallel writers. The default writer now is parallel capable. There's no need to have separate writers for distributed use-cases.

vtkXMLPartitionedDataSetWriter and vtkXMLPartitionedDataSetCollectionWriter are now the two writers to use for the two data types. vtkXMLPPartitionedDataSetWriter is deprecated.

Also added a new source vtkPartitionedDataSetCollectionSource that can generate vtkPartitionedDataSetCollection for testing purposes.

Edited by Utkarsh Ayachit

Merge request reports