Removed commented ContourTreeBlockData.SortOrder

This commit is contained in:
Oliver Ruebel 2020-11-18 01:57:36 -08:00 committed by Gunther H. Weber
parent eec59a6fd0
commit 8e58f50b23
2 changed files with 0 additions and 3 deletions

@ -407,7 +407,6 @@ VTKM_CONT void ContourTreeAugmented::DoPostExecute(
// Construct the contour tree mesh from the last block
vtkm::worklet::contourtree_augmented::ContourTreeMesh<T> contourTreeMeshOut;
contourTreeMeshOut.NumVertices = localDataBlocks[0]->NumVertices;
// contourTreeMeshOut.SortOrder = localDataBlocks[0]->SortOrder;
contourTreeMeshOut.SortOrder = vtkm::cont::ArrayHandleIndex(contourTreeMeshOut.NumVertices);
contourTreeMeshOut.SortIndices = vtkm::cont::ArrayHandleIndex(contourTreeMeshOut.NumVertices);
contourTreeMeshOut.SortedValues = localDataBlocks[0]->SortedValue;

@ -77,8 +77,6 @@ struct ContourTreeBlockData
// ContourTreeMesh data
vtkm::Id NumVertices;
// TODO Should be able to remove sortOrder here, but we need to figure out what to return in the worklet instead
// vtkm::worklet::contourtree_augmented::IdArrayType SortOrder;
vtkm::cont::ArrayHandle<FieldType> SortedValue;
vtkm::worklet::contourtree_augmented::IdArrayType GlobalMeshIndex;
vtkm::worklet::contourtree_augmented::IdArrayType Neighbours;