vtk-m/vtkm/worklet/cosmotools
Kenneth Moreland b1343474c1 Consolidate count-to-offset algorithms
For no particularly good reason, there were two functions that converted
and array of counts to an array of offsets: `ConvertNumComponentsToOffsets`
and `ConvertNumIndicesToOffsets`. These functions were identical, except
one was defined in `ArrayHandleGroupVecVariable.h` and the other was
defined in `CellSetExplicit.h`.

These two functions have been consolidated into one (which is now called
`ConvertNumComponentsToOffsets`). The consolidated function has also been
put in its own header file: `ConvertNumComponentsToOffsets.h`.

Normally, backward compatibility would be established using deprecated
features. However, one of the things being worked on is the removal of
device-specific code (e.g. `vtkm::cont::Algorithm`) from core classes like
`CellSetExplicit` so that less code needs to use the device compiler
(especially downstream code).

Part of this change removed unnecessary includes of `Algorithm.h` in
`ArrayHandleGroupVecVariable.h` and `CellSetExplicit.h`. This header had to
be added to some classes that were not including it themselves.
2021-09-16 14:24:41 -06:00
..
CMakeLists.txt conslidate the license statement 2019-04-17 10:57:13 -06:00
ComputeBinIndices.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ComputeBinRange.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ComputeBins.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputeNeighborBins.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ComputePotential.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputePotentialBin.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputePotentialMxN.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputePotentialNeighbors.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputePotentialNxN.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
ComputePotentialOnCandidates.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
CosmoTools.h Consolidate count-to-offset algorithms 2021-09-16 14:24:41 -06:00
CosmoToolsCenterFinder.h Use ArrayGetValue where possible in worklets. 2019-08-22 16:42:17 -04:00
CosmoToolsHaloFinder.h Make BinaryOperators/Predicates more flexible. 2019-12-18 15:51:59 -05:00
EqualsMinimumPotential.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
GraftParticles.h conslidate the license statement 2019-04-17 10:57:13 -06:00
IsStar.h conslidate the license statement 2019-04-17 10:57:13 -06:00
MarkActiveNeighbors.h conslidate the license statement 2019-04-17 10:57:13 -06:00
PointerJump.h conslidate the license statement 2019-04-17 10:57:13 -06:00
SetCandidateParticles.h Convert uses of ListTagBase to List 2019-12-06 15:37:46 -07:00
TagTypes.h Update lists in TypeListTag.h 2019-12-05 11:05:19 -07:00
ValidHalo.h conslidate the license statement 2019-04-17 10:57:13 -06:00