VTK-m
2.2
|
The ExecutionSignature
tag to get the number of values.
More...
#include <WorkletReduceByKey.h>
Additional Inherited Members | |
Public Types inherited from vtkm::exec::arg::ValueCount | |
using | AspectTag = vtkm::exec::arg::AspectTagValueCount |
Static Public Attributes inherited from vtkm::exec::arg::ValueCount | |
static constexpr vtkm::IdComponent | INDEX = 1 |
The ExecutionSignature
tag to get the number of values.
A WorkletReduceByKey
operates by collecting all values associated with identical keys and then giving the worklet a Vec-like object containing all values with a matching key. This tag produces a vtkm::IdComponent
that is equal to the number of times the key associated with this call to the worklet occurs in the input. This is the same size as the Vec-like objects provided by ValuesIn
arguments.