VTK-m
2.0
|
Compartor implementation used in HierarchicalAugmenter<FieldType>::ResizeArrays to sort this->SupernodeSorter A comparator that sorts supernode pairs by: More...
#include <AttachmentAndSupernodeComparator.h>
Public Types | |
using | IdArrayPortalType = typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType |
using | FieldArrayPortalType = typename vtkm::cont::ArrayHandle< FieldType >::ReadPortalType |
Public Member Functions | |
VTKM_CONT | AttachmentAndSupernodeComparatorImpl (IdArrayPortalType superparentSetPortal, FieldArrayPortalType dataValueSetPortal, IdArrayPortalType globalRegularIdSetPortal) |
VTKM_EXEC bool | operator() (const vtkm::Id &left, const vtkm::Id &right) const |
Private Attributes | |
IdArrayPortalType | SuperparentSetPortal |
FieldArrayPortalType | DataValueSetPortal |
IdArrayPortalType | GlobalRegularIdSetPortal |
Compartor implementation 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
using vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentAndSupernodeComparatorImpl< FieldType >::FieldArrayPortalType = typename vtkm::cont::ArrayHandle<FieldType>::ReadPortalType |
|
inline |
|
inline |
|
private |
|
private |
|
private |