Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_inc_hyper_arc_super_node_comparator_h
54 #define vtk_m_worklet_contourtree_augmented_active_graph_inc_hyper_arc_super_node_comparator_h
64 namespace contourtree_augmented
66 namespace active_graph_inc
96 if (hyperarcI < hyperarcJ)
98 if (hyperarcJ < hyperarcI)
137 this->SuperID.PrepareForInput(device, token),
#define VTKM_EXEC
Definition: ExportMacros.h:51
IdArrayType SuperID
Definition: HyperArcSuperNodeComparator.h:143
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 HyperArcSuperNodeComparator(const IdArrayType &hyperparents, const IdArrayType &superID, bool isJoinTree)
Definition: HyperArcSuperNodeComparator.h:124
typename IdArrayType::ReadPortalType IdArrayPortalType
Definition: HyperArcSuperNodeComparator.h:74
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
bool IsJoinTree
Definition: HyperArcSuperNodeComparator.h:144
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_CONT HyperArcSuperNodeComparatorImpl(const IdArrayPortalType &hyperparents, const IdArrayPortalType &superID, bool isJoinTree)
Definition: HyperArcSuperNodeComparator.h:78
IdArrayPortalType TreeHyperparentsPortal
Definition: HyperArcSuperNodeComparator.h:113
#define VTKM_CONT
Definition: ExportMacros.h:57
Definition: HyperArcSuperNodeComparator.h:119
IdArrayType Hyperparents
Definition: HyperArcSuperNodeComparator.h:142
VTKM_EXEC bool operator()(const vtkm::Id &i, const vtkm::Id &j) const
Definition: HyperArcSuperNodeComparator.h:89
bool IsJoinTree
Definition: HyperArcSuperNodeComparator.h:115
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 HyperArcSuperNodeComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: HyperArcSuperNodeComparator.h:133
IdArrayPortalType GraphSuperIDPortal
Definition: HyperArcSuperNodeComparator.h:114
Definition: HyperArcSuperNodeComparator.h:71