VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl Class Reference

Implementation for a comparator that sorts supernode pairs by: More...

#include <AttachmentSuperparentAndIndexComparator.h>

Public Types

using IdArrayPortalType = typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType
 

Public Member Functions

VTKM_CONT AttachmentSuperparentAndIndexComparatorImpl (IdArrayPortalType superparentsPortal, IdArrayPortalType globalRegularIdsPortal, IdArrayPortalType supernodeIdsPortal)
 
VTKM_EXEC bool operator() (const vtkm::Id &left, const vtkm::Id &right) const
 

Private Attributes

IdArrayPortalType SuperparentsPortal
 
IdArrayPortalType GlobalRegularIdsPortal
 
IdArrayPortalType SupernodeIdsPortal
 

Detailed Description

Implementation for a comparator that sorts supernode pairs by:

  1. the superparent round
  2. global regular Id
  3. supernode Id (if any)

Member Typedef Documentation

◆ IdArrayPortalType

Constructor & Destructor Documentation

◆ AttachmentSuperparentAndIndexComparatorImpl()

VTKM_CONT vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl::AttachmentSuperparentAndIndexComparatorImpl ( IdArrayPortalType  superparentsPortal,
IdArrayPortalType  globalRegularIdsPortal,
IdArrayPortalType  supernodeIdsPortal 
)
inline

Member Function Documentation

◆ operator()()

VTKM_EXEC bool vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl::operator() ( const vtkm::Id left,
const vtkm::Id right 
) const
inline

Member Data Documentation

◆ GlobalRegularIdsPortal

IdArrayPortalType vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl::GlobalRegularIdsPortal
private

◆ SupernodeIdsPortal

IdArrayPortalType vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl::SupernodeIdsPortal
private

◆ SuperparentsPortal

IdArrayPortalType vtkm::worklet::contourtree_distributed::hierarchical_augmenter::AttachmentSuperparentAndIndexComparatorImpl::SuperparentsPortal
private

The documentation for this class was generated from the following file: