Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_contour_tree_supernode_comparator_h
54 #define vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_contour_tree_supernode_comparator_h
64 namespace contourtree_augmented
66 namespace contourtree_maker_inc
90 this->WhenTransferredPortal = whenTransferred.
PrepareForInput(device, token);
100 if (leftWhen < rightWhen)
102 if (leftWhen > rightWhen)
117 if (leftSupernode < rightSupernode)
119 else if (leftSupernode > rightSupernode)
IdPortalType WhenTransferredPortal
Definition: ContourTreeSuperNodeComparator.h:78
VTKM_EXEC_CONT bool IsAscending(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:121
IdPortalType SupernodesPortal
Definition: ContourTreeSuperNodeComparator.h:77
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_CONT ContourTreeSuperNodeComparator(const IdArrayType &hyperparents, const IdArrayType &supernodes, const IdArrayType &whenTransferred)
Definition: ContourTreeSuperNodeComparator.h:131
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
IdPortalType HyperparentsPortal
Definition: ContourTreeSuperNodeComparator.h:76
Definition: ContourTreeSuperNodeComparator.h:126
VTKM_EXEC bool operator()(const vtkm::Id &leftComparand, const vtkm::Id &rightComparand) const
Definition: ContourTreeSuperNodeComparator.h:95
VTKM_CONT ContourTreeSuperNodeComparatorImpl(const IdArrayType &hyperparents, const IdArrayType &supernodes, const IdArrayType &whenTransferred, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: ContourTreeSuperNodeComparator.h:82
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::ArrayHandle< vtkm::Id >::ReadPortalType IdPortalType
Definition: ContourTreeSuperNodeComparator.h:74
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_CONT ContourTreeSuperNodeComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: ContourTreeSuperNodeComparator.h:141
IdArrayType WhenTransferred
Definition: ContourTreeSuperNodeComparator.h:150
#define VTKM_CONT
Definition: ExportMacros.h:57
IdArrayType Hyperparents
Definition: ContourTreeSuperNodeComparator.h:148
Definition: ContourTreeSuperNodeComparator.h:71
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
IdArrayType Supernodes
Definition: ContourTreeSuperNodeComparator.h:149