vtk-m/vtkm/worklet/contourtree_augmented
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
..
activegraph Deprecate ArrayHandle::ExecutionTypes 2021-02-08 12:17:37 -07:00
contourtreemaker Deprecate ArrayHandle::ExecutionTypes 2021-02-08 12:17:37 -07:00
data_set_mesh Deprecate ArrayHandle::ExecutionTypes 2021-02-08 12:17:37 -07:00
meshextrema Rename include guards to comply with vtk_m_ naming convention 2020-01-22 14:04:11 -08:00
meshtypes Consolidate count-to-offset algorithms 2021-09-16 14:24:41 -06:00
processcontourtree Fix MergeCombinedOtherStartIndexWorklet instead of using STL; clean up 2021-06-28 15:44:42 -07:00
ActiveGraph.h Replace STL exception in contour tree with VTKM exception 2021-07-15 14:00:23 -07:00
ArrayTransforms.h Clean-up. Move functor class outside template. 2021-06-28 15:44:44 -07:00
CMakeLists.txt Refactor mesh classes: switch from row/col/slice to vtkm::Id2/Id3 2020-09-15 11:15:27 -07:00
ContourTree.h Add contour tree, boundary tree, and interior forest array stat print 2020-12-02 14:29:15 -08:00
ContourTreeMaker.h Replace STL exception in contour tree with VTKM exception 2021-07-15 14:00:23 -07:00
DataSetMesh.h Port bugfix for ListNewNodesCopyIdsWorklet. 2020-12-02 14:29:16 -08:00
MergeTree.h Refactor mesh classes: switch from row/col/slice to vtkm::Id2/Id3 2020-09-15 11:15:27 -07:00
MeshExtrema.h Refactor mesh classes: switch from row/col/slice to vtkm::Id2/Id3 2020-09-15 11:15:27 -07:00
PointerDoubling.h Update functionnames in contourtree_augmented/Types.h to match VTKm style 2020-01-22 23:15:28 -08:00
PrintVectors.h Add debug out and refactor for debugging 2021-06-28 15:44:43 -07:00
ProcessContourTree.h Fix to read the scan inclusive output value directly. 2020-08-06 16:55:04 +01:00
Types.h Revert change to Types.h 2020-12-02 14:29:14 -08:00