Go to the documentation of this file.
   69 #ifndef vtkm_worklet_contourtree_vertex_merge_comparator_h 
   70 #define vtkm_worklet_contourtree_vertex_merge_comparator_h 
   91 template <
typename T, 
typename StorageType>
 
  132       vtkm::Id pseudoExtI = this->Extrema.Get(i);
 
  133       vtkm::Id pseudoExtJ = this->Extrema.Get(j);
 
  135       if (pseudoExtI < pseudoExtJ)
 
  137       if (pseudoExtJ < pseudoExtI)
 
  140       T valueI = this->Values.Get(i);
 
  141       T valueJ = this->Values.Get(j);
 
  167                       this->Extrema.PrepareForInput(device, token),
 
  
Definition: VertexMergeComparator.h:92
 
IdPortalType Extrema
Definition: VertexMergeComparator.h:117
 
#define VTKM_EXEC
Definition: ExportMacros.h:51
 
typename IdArrayType::ReadPortalType IdPortalType
Definition: VertexMergeComparator.h:114
 
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
 
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
typename ValueArrayType::ReadPortalType ValuePortalType
Definition: VertexMergeComparator.h:113
 
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: VertexMergeComparator.h:129
 
VTKM_CONT ExecObject(ValuePortalType values, IdPortalType extrema, bool isJoinTree)
Definition: VertexMergeComparator.h:121
 
ValueArrayType Values
Definition: VertexMergeComparator.h:98
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
ValuePortalType Values
Definition: VertexMergeComparator.h:116
 
bool IsJoinTree
Definition: VertexMergeComparator.h:118
 
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 VertexMergeComparator(ValueArrayType values, IdArrayType extrema, bool isJoinTree)
Definition: VertexMergeComparator.h:103
 
VTKM_CONT ExecObject PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: VertexMergeComparator.h:163
 
IdArrayType Extrema
Definition: VertexMergeComparator.h:99
 
Definition: VertexMergeComparator.h:110
 
bool IsJoinTree
Definition: VertexMergeComparator.h:100