Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_inc_edge_peak_comparator_h
54 #define vtk_m_worklet_contourtree_augmented_active_graph_inc_edge_peak_comparator_h
64 namespace contourtree_augmented
66 namespace active_graph_inc
98 if (farIndex1 < farIndex2)
102 if (farIndex2 < farIndex1)
111 if (nearIndex1 < nearIndex2)
115 if (nearIndex2 < nearIndex1)
VTKM_CONT EdgePeakComparator(const IdArrayType &edgeFar, const IdArrayType &edgeNear, bool joinGraph)
Definition: augmented/activegraph/EdgePeakComparator.h:146
#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
IdPortalType EdgeNearPortal
Definition: augmented/activegraph/EdgePeakComparator.h:136
bool IsJoinGraph
Definition: augmented/activegraph/EdgePeakComparator.h:137
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
typename vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType IdPortalType
Definition: augmented/activegraph/EdgePeakComparator.h:74
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTKM_EXEC bool operator()(const vtkm::Id &i, const vtkm::Id &j) const
Definition: augmented/activegraph/EdgePeakComparator.h:91
#define VTKM_CONT
Definition: ExportMacros.h:57
IdArrayType EdgeFar
Definition: augmented/activegraph/EdgePeakComparator.h:160
IdArrayType EdgeNear
Definition: augmented/activegraph/EdgePeakComparator.h:161
VTKM_CONT EdgePeakComparatorImpl(const IdArrayType &edgeFar, const IdArrayType &edgeNear, bool joinGraph, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: augmented/activegraph/EdgePeakComparator.h:78
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 EdgePeakComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: augmented/activegraph/EdgePeakComparator.h:153
Definition: augmented/activegraph/EdgePeakComparator.h:71
IdPortalType EdgeFarPortal
Definition: augmented/activegraph/EdgePeakComparator.h:135
bool JoinGraph
Definition: augmented/activegraph/EdgePeakComparator.h:162
Definition: augmented/activegraph/EdgePeakComparator.h:141