Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_augmented_process_contourtree_inc_supernode_branch_comperator_h 
   54 #define vtk_m_worklet_contourtree_augmented_process_contourtree_inc_supernode_branch_comperator_h 
   66 namespace contourtree_augmented
 
   68 namespace process_contourtree_inc
 
   97     if (branchI < branchJ)
 
   99     if (branchJ < branchI)
 
  103     vtkm::Id regularI = this->SupernodesPortal.Get(i);
 
  104     vtkm::Id regularJ = this->SupernodesPortal.Get(j);
 
  106     if (regularI < regularJ)
 
  108     if (regularJ < regularI)
 
  
VTKM_EXEC bool operator()(const vtkm::Id &i, const vtkm::Id &j) const
Definition: SuperNodeBranchComparator.h:90
 
#define VTKM_EXEC
Definition: ExportMacros.h:51
 
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
VTKM_CONT SuperNodeBranchComparatorImpl PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: SuperNodeBranchComparator.h:126
 
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
 
Definition: SuperNodeBranchComparator.h:71
 
vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType IdPortalType
Definition: SuperNodeBranchComparator.h:74
 
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
 
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
 
SuperNodeBranchComparator(const IdArrayType &whichBranch, const IdArrayType &supernodes)
Definition: SuperNodeBranchComparator.h:120
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
 
IdPortalType WhichBranchPortal
Definition: SuperNodeBranchComparator.h:75
 
IdArrayType WhichBranch
Definition: SuperNodeBranchComparator.h:133
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
Definition: SuperNodeBranchComparator.h:116
 
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
 
Definition: DeviceAdapterTag.h:52
 
SuperNodeBranchComparatorImpl(const IdArrayType &whichBranch, const IdArrayType &supernodes, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: SuperNodeBranchComparator.h:79
 
IdArrayType Supernodes
Definition: SuperNodeBranchComparator.h:134
 
IdPortalType SupernodesPortal
Definition: SuperNodeBranchComparator.h:76