Go to the documentation of this file.
60 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_hyper_augmenter_attachment_superparent_and_index_comparator_h
61 #define vtk_m_worklet_contourtree_distributed_hierarchical_hyper_augmenter_attachment_superparent_and_index_comparator_h
71 namespace contourtree_distributed
73 namespace hierarchical_augmenter
136 return (left < right);
191 this->GlobalRegularIds.PrepareForInput(device, token),
192 this->SupernodeIds.PrepareForInput(device, token));
vtkm::worklet::contourtree_augmented::IdArrayType SupernodeIds
the supernode Id for tiebreak
Definition: AttachmentSuperparentAndIndexComparator.h:201
vtkm::worklet::contourtree_augmented::IdArrayType Superparents
the superparent Id
Definition: AttachmentSuperparentAndIndexComparator.h:197
VTKM_EXEC_CONT bool IsAscending(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:121
#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_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
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
IdArrayPortalType SuperparentsPortal
Definition: AttachmentSuperparentAndIndexComparator.h:160
Implementation for a comparator that sorts supernode pairs by:
Definition: AttachmentSuperparentAndIndexComparator.h:81
IdArrayPortalType SupernodeIdsPortal
Definition: AttachmentSuperparentAndIndexComparator.h:162
vtkm::worklet::contourtree_augmented::IdArrayType GlobalRegularIds
the global rergular Id for tiebreak
Definition: AttachmentSuperparentAndIndexComparator.h:199
VTKM_CONT AttachmentSuperparentAndIndexComparator(const vtkm::worklet::contourtree_augmented::IdArrayType superparents, const vtkm::worklet::contourtree_augmented::IdArrayType globalRegularIds, const vtkm::worklet::contourtree_augmented::IdArrayType supernodeIds)
Definition: AttachmentSuperparentAndIndexComparator.h:175
IdArrayPortalType GlobalRegularIdsPortal
Definition: AttachmentSuperparentAndIndexComparator.h:161
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_CONT AttachmentSuperparentAndIndexComparatorImpl(IdArrayPortalType superparentsPortal, IdArrayPortalType globalRegularIdsPortal, IdArrayPortalType supernodeIdsPortal)
Definition: AttachmentSuperparentAndIndexComparator.h:89
Execution object for a comparator that sorts supernode pairs by:
Definition: AttachmentSuperparentAndIndexComparator.h:170
VTKM_CONT AttachmentSuperparentAndIndexComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Create a AttachmentSuperparentAndIndexComparatorImpl object for use in the sort or worklet.
Definition: AttachmentSuperparentAndIndexComparator.h:187
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_EXEC bool operator()(const vtkm::Id &left, const vtkm::Id &right) const
Definition: AttachmentSuperparentAndIndexComparator.h:100
typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType IdArrayPortalType
Definition: AttachmentSuperparentAndIndexComparator.h:85