Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_hyperarc_comparator_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_hyperarc_comparator_h
64 namespace contourtree_distributed
comparator used to compare hyperarcs for sort
Definition: HyperarcComparator.h:96
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_CONT ReadPortalType PrepareForInput(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Prepares this array to be used as an input to an operation in the execution environment.
Definition: ArrayHandle.h:574
vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType IdArrayPortalType
Definition: HyperarcComparator.h:74
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_CONT HyperarcComparator(const vtkm::worklet::contourtree_augmented::IdArrayType hyperarcs)
Definition: HyperarcComparator.h:101
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_EXEC bool operator()(const vtkm::Id &i, const vtkm::Id &j) const
Definition: HyperarcComparator.h:85
Definition: HyperarcComparator.h:71
#define VTKM_CONT
Definition: ExportMacros.h:57
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
VTKM_CONT HyperarcComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: HyperarcComparator.h:106
vtkm::cont::ArrayHandle< vtkm::Id > Hyperarcs
Definition: HyperarcComparator.h:113
VTKM_CONT HyperarcComparatorImpl(const IdArrayPortalType &hyperarcsPortal)
Definition: HyperarcComparator.h:78
IdArrayPortalType HyperarcsPortal
Definition: HyperarcComparator.h:92