Skip to content

Add ArrayHandleIndex

Kenneth Moreland requested to merge kmorel/vtk-m:index-array-handle into master

Add an ArrayHandleIndex class that echoes the index. This is really a special version of ArrayHandleCounting that is of type vtkm::Id and starts at 0, but it is the most common case and does not need the extra addition.

Also modified ArrayHandleCounting to support a step, which makes the use a bit more powerful.

Merge request reports