Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_hypernode_when_comparator_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_hypernode_when_comparator_h
64 namespace contourtree_distributed
66 namespace tree_grafter
89 if (maskedLeftWhen < maskedRightWhen)
93 else if (maskedLeftWhen > maskedRightWhen)
100 return (leftSuperId < rightSuperId);
#define VTKM_EXEC
Definition: ExportMacros.h:51
IdArrayPortalType WhenTransferredPortal
Definition: HyperNodeWhenComparator.h:106
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType IdArrayPortalType
Definition: HyperNodeWhenComparator.h:73
const vtkm::worklet::contourtree_augmented::IdArrayType & WhenTransferred
Definition: HyperNodeWhenComparator.h:128
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
Definition: HyperNodeWhenComparator.h:112
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_EXEC_CONT HyperNodeWhenComparatorImpl(const IdArrayPortalType &whenTransferredPortal)
Definition: HyperNodeWhenComparator.h:77
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_CONT HyperNodeWhenComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: HyperNodeWhenComparator.h:121
VTKM_EXEC bool operator()(const vtkm::Id &leftSuperId, const vtkm::Id &rightSuperId) const
Definition: HyperNodeWhenComparator.h:82
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
Comparator used in TreeGrafter::ListNewHypernodes to sort the NewHypernodes arrays.
Definition: HyperNodeWhenComparator.h:70
VTKM_CONT HyperNodeWhenComparator(const vtkm::worklet::contourtree_augmented::IdArrayType &whenTransferred)
Definition: HyperNodeWhenComparator.h:116