Go to the documentation of this file.
56 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_hyper_augmenter_attachment_and_supernode_comparator_h
57 #define vtk_m_worklet_contourtree_distributed_hierarchical_hyper_augmenter_attachment_and_supernode_comparator_h
67 namespace contourtree_distributed
69 namespace hierarchical_augmenter
82 template <
typename FieldType>
161 template <
typename FieldType>
184 this->DataValueSet.PrepareForInput(device, token),
185 this->GlobalRegularIdSet.PrepareForInput(device, token));
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::worklet::contourtree_augmented::IdArrayType SuperparentSet
the superparent Id
Definition: AttachmentAndSupernodeComparator.h:190
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 AttachmentAndSupernodeComparator(const vtkm::worklet::contourtree_augmented::IdArrayType &superparentSet, const vtkm::cont::ArrayHandle< FieldType > &dataValueSet, const vtkm::worklet::contourtree_augmented::IdArrayType &globalRegularIdSet)
Definition: AttachmentAndSupernodeComparator.h:167
IdArrayPortalType SuperparentSetPortal
Definition: AttachmentAndSupernodeComparator.h:146
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
IdArrayPortalType GlobalRegularIdSetPortal
Definition: AttachmentAndSupernodeComparator.h:148
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_CONT AttachmentAndSupernodeComparatorImpl< FieldType > PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Create a AttachmentAndSupernodeComparatorImpl object for use in the sort or worklet.
Definition: AttachmentAndSupernodeComparator.h:178
typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType IdArrayPortalType
Definition: AttachmentAndSupernodeComparator.h:87
Compartor implementation used in HierarchicalAugmenter<FieldType>::ResizeArrays to sort this->Superno...
Definition: AttachmentAndSupernodeComparator.h:83
vtkm::cont::ArrayHandle< FieldType > DataValueSet
the global rergular Id for tiebreak
Definition: AttachmentAndSupernodeComparator.h:192
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_EXEC bool operator()(const vtkm::Id &left, const vtkm::Id &right) const
Definition: AttachmentAndSupernodeComparator.h:103
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
Execution object for Compartor used in HierarchicalAugmenter<FieldType>::ResizeArrays to sort this->S...
Definition: AttachmentAndSupernodeComparator.h:162
VTKM_CONT AttachmentAndSupernodeComparatorImpl(IdArrayPortalType superparentSetPortal, FieldArrayPortalType dataValueSetPortal, IdArrayPortalType globalRegularIdSetPortal)
Definition: AttachmentAndSupernodeComparator.h:92
typename vtkm::cont::ArrayHandle< FieldType >::ReadPortalType FieldArrayPortalType
Definition: AttachmentAndSupernodeComparator.h:88
FieldArrayPortalType DataValueSetPortal
Definition: AttachmentAndSupernodeComparator.h:147
vtkm::worklet::contourtree_augmented::IdArrayType GlobalRegularIdSet
the supernode Id for tiebreak
Definition: AttachmentAndSupernodeComparator.h:194