Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_FetchTagKeysIn_h
11 #define vtk_m_exec_arg_FetchTagKeysIn_h
35 template <
typename KeyPortalType,
typename IdPortalType,
typename IdComponentPortalType>
39 vtkm::exec::internal::ReduceByKeyLookup<KeyPortalType, IdPortalType, IdComponentPortalType>>
41 using ExecObjectType =
42 vtkm::exec::internal::ReduceByKeyLookup<KeyPortalType, IdPortalType, IdComponentPortalType>;
44 using ValueType =
typename ExecObjectType::KeyType;
47 template <
typename ThreadIndicesType>
50 return keys.UniqueKeys.Get(indices.GetInputIndex());
53 template <
typename ThreadIndicesType>
63 #endif //vtk_m_exec_arg_FetchTagKeysIn_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
Fetch tag for getting key values in a reduce by key.
Definition: FetchTagKeysIn.h:31
VTKM_EXEC ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &execObject) const
Load data for a work instance.
typename ExecObjectType::ValueType ValueType
The type of value to load and store.
Definition: Fetch.h:58
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
VTKM_EXEC void Store(const ThreadIndicesType &indices, const ExecObjectType &execObject, const ValueType &value) const
Store data from a work instance.
Aspect tag to use for default load/store of data.
Definition: AspectTagDefault.h:22
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53