VTK-m
2.0
|
Execution object for Compartor used in HierarchicalAugmenter<FieldType>::ResizeArrays to sort this->SupernodeSorter A comparator that sorts supernode pairs by: More...
#include <AttachmentAndSupernodeComparator.h>
Public Member Functions | |
VTKM_CONT | AttachmentAndSupernodeComparator (const vtkm::worklet::contourtree_augmented::IdArrayType &superparentSet, const vtkm::cont::ArrayHandle< FieldType > &dataValueSet, const vtkm::worklet::contourtree_augmented::IdArrayType &globalRegularIdSet) |
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. More... | |
Private Attributes | |
vtkm::worklet::contourtree_augmented::IdArrayType | SuperparentSet |
the superparent Id More... | |
vtkm::cont::ArrayHandle< FieldType > | DataValueSet |
the global rergular Id for tiebreak More... | |
vtkm::worklet::contourtree_augmented::IdArrayType | GlobalRegularIdSet |
the supernode Id for tiebreak More... | |
Execution object for Compartor used in HierarchicalAugmenter<FieldType>::ResizeArrays to sort this->SupernodeSorter A comparator that sorts supernode pairs by:
The superparent is assumed to have a flag indicating ascending/descending, and this needs to be used to get the correct inwards ordering along each superarc
|
inline |
|
inline |
Create a AttachmentAndSupernodeComparatorImpl object for use in the sort or worklet.
|
private |
the global rergular Id for tiebreak
|
private |
the supernode Id for tiebreak
|
private |
the superparent Id