mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-08 03:18:58 +00:00
d77c5812c3
The `vtkm::worklet::Keys` object held a `SortedValuesMap` array, an `Offsets` array, a `Counts` array, and (optionally) a `UniqueKeys` array. Of these, the `Counts` array is redundant because the counts are trivially computed by subtracting adjacent entries in the offsets array. This pattern shows up a lot in VTK-m, and most places we have moved to removing the counts and just using the offsets. This change removes the `Count` array from the `Keys` object. Where the count is needed internally, adjacent offsets are subtracted. The deprecated `GetCounts` method is implemented by copying values into a new array. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
GenerateTestDataSets.h | ||
TestingContourTreeUniformDistributedLoadArrays.h | ||
UnitTestAverageByKey.cxx | ||
UnitTestBoundingIntervalHierarchy.cxx | ||
UnitTestCellDeepCopy.cxx | ||
UnitTestContourTreeUniformDistributed.cxx | ||
UnitTestCosmoTools.cxx | ||
UnitTestDescriptiveStatistics.cxx | ||
UnitTestDispatcherBase.cxx | ||
UnitTestFieldStatistics.cxx | ||
UnitTestKeys.cxx | ||
UnitTestMaskIndices.cxx | ||
UnitTestMaskSelect.cxx | ||
UnitTestNDimsHistMarginalization.cxx | ||
UnitTestNormalize.cxx | ||
UnitTestScalarsToColors.cxx | ||
UnitTestScatterAndMask.cxx | ||
UnitTestScatterAndMaskWithTopology.cxx | ||
UnitTestScatterCounting.cxx | ||
UnitTestScatterPermutation.cxx | ||
UnitTestSplatKernels.cxx | ||
UnitTestStreamLineUniformGrid.cxx | ||
UnitTestTriangleWinding.cxx | ||
UnitTestWaveletCompressor.cxx | ||
UnitTestWholeCellSetIn.cxx | ||
UnitTestWorkletMapField3d.cxx | ||
UnitTestWorkletMapField.cxx | ||
UnitTestWorkletMapFieldExecArg.cxx | ||
UnitTestWorkletMapFieldWholeArray.cxx | ||
UnitTestWorkletMapFieldWholeArrayAtomic.cxx | ||
UnitTestWorkletMapPointNeighborhood.cxx | ||
UnitTestWorkletMapTopologyExplicit.cxx | ||
UnitTestWorkletMapTopologyUniform.cxx | ||
UnitTestWorkletReduceByKey.cxx |