Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_boundary_tree_node_comparator_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_boundary_tree_node_comparator_h
66 namespace contourtree_distributed
101 if (sortIndexI < sortIndexJ)
105 else if (sortIndexJ < sortIndexI)
139 this->MeshSortIndex.PrepareForInput(device, token));
IdArrayPortalType RegularIdPortal
Definition: BoundaryTreeNodeComparator.h:116
comparator used to compare hyperarcs for sort
Definition: BoundaryTreeNodeComparator.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
An ArrayHandle that can behave like several other handles.
Definition: ArrayHandleMultiplexer.h:398
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
device implementation of the comparator used for sorting hyperarcs
Definition: BoundaryTreeNodeComparator.h:73
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: BoundaryTreeNodeComparator.h:94
#define VTKM_CONT
Definition: ExportMacros.h:57
SortIndexPortalType MeshSortIndexPortal
Definition: BoundaryTreeNodeComparator.h:117
vtkm::cont::ArrayHandleMultiplexer< vtkm::cont::ArrayHandle< vtkm::Id >, vtkm::cont::ArrayHandleIndex >::ReadPortalType SortIndexPortalType
Definition: BoundaryTreeNodeComparator.h:81
vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType IdArrayPortalType
Definition: BoundaryTreeNodeComparator.h:76
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 BoundaryTreeNodeComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: BoundaryTreeNodeComparator.h:135
vtkm::worklet::contourtree_augmented::IdArrayType RegularId
Definition: BoundaryTreeNodeComparator.h:143
VTKM_CONT BoundaryTreeNodeComparatorImpl(const IdArrayPortalType ®ularIdPortal, const SortIndexPortalType &meshSortIndexPortal)
Definition: BoundaryTreeNodeComparator.h:85
VTKM_CONT BoundaryTreeNodeComparator(const vtkm::worklet::contourtree_augmented::IdArrayType ®ularId, const vtkm::cont::ArrayHandleMultiplexer< vtkm::cont::ArrayHandle< vtkm::Id >, vtkm::cont::ArrayHandleIndex > &meshSortIndex)
Definition: BoundaryTreeNodeComparator.h:126
vtkm::cont::ArrayHandleMultiplexer< vtkm::cont::ArrayHandle< vtkm::Id >, vtkm::cont::ArrayHandleIndex > MeshSortIndex
The ContourTreeMesh uses a smart ArrayHandleIndex instead of a regular IdArrayType array that is why ...
Definition: BoundaryTreeNodeComparator.h:147
An implicit array handle containing the its own indices.
Definition: ArrayHandleIndex.h:54