CopyStructure error when running Descriptive Statistics filter on Multipiece datasets
I have a multiblock dataset where each block is a multipiece dataset, and each multipiece has some number of pieces that are unstructured grids. In 5.9, there's no issue running the Descriptive Statistics filter on this dataset, but in 5.10, I get the following error:
[pvserver ] vtkDataObjectTree.cxx:206 ERR| vtkMultiPieceDataSet (0x555557e25190): CopyStructure has encountered an error and will fail!
I've done some digging and here's what I've found:
There's not an issue when vtkSciVizStatistics::RequestData()
calls CopyStructure()
.
However, the output of the filter puts multiblocks (containing the vtkTables with the statistics results) for each piece. So the error happens in vtkPVPostFilter::RequestData()
when CopyStructure
is called on the output of the filter. In vtkDataObjectTree::CopyStructure()
, eventually vtkPartitionedDataSet::CreateForCopyStructure()
is called, which always returns nullptr
and triggers the error message above.
So if multipiece datasets shouldn't contain multiblock datasets, then the filter accidentally worked before?