Go to the documentation of this file.
63 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_combined_simulated_simplicity_index_comparator_h
64 #define vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_combined_simulated_simplicity_index_comparator_h
73 namespace contourtree_augmented
75 namespace mesh_dem_contourtree_mesh_inc
80 template <
typename FieldType>
191 template <
typename FieldType>
VTKM_EXEC_CONT bool operator()(vtkm::Id i, vtkm::Id j) const
Definition: CombinedSimulatedSimplicityIndexComparator.h:120
Groups connected points that have the same field value.
Definition: Atomic.h:19
Implementation of the comparator used initial sort of data values in ContourTreeMesh<FieldType>::Merg...
Definition: CombinedSimulatedSimplicityIndexComparator.h:81
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
VTKM_EXEC_CONT vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
Definition: CombinedSimulatedSimplicityIndexComparator.h:104
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
IdPortalType OtherGlobalMeshIndex
Definition: CombinedSimulatedSimplicityIndexComparator.h:184
ValuePortalType ThisSortedValues
Definition: CombinedSimulatedSimplicityIndexComparator.h:185
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
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
IdPortalType ThisGlobalMeshIndex
Definition: CombinedSimulatedSimplicityIndexComparator.h:183
VTKM_CONT CombinedSimulatedSimplicityIndexComparatorImpl< FieldType > PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: CombinedSimulatedSimplicityIndexComparator.h:209
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
Execution object for the comparator used initial sort of data values in ContourTreeMesh<FieldType>::M...
Definition: CombinedSimulatedSimplicityIndexComparator.h:192
vtkm::cont::ArrayHandle< FieldType > OtherSortedValues
Definition: CombinedSimulatedSimplicityIndexComparator.h:225
#define VTKM_CONT
Definition: ExportMacros.h:57
ValuePortalType OtherSortedValues
Definition: CombinedSimulatedSimplicityIndexComparator.h:186
VTKM_EXEC_CONT bool IsThis(vtkm::Id flaggedIndex)
Used in the context of CombinedVector class used in ContourTreeMesh to merge the mesh of contour tree...
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:134
VTKM_CONT CombinedSimulatedSimplicityIndexComparatorImpl(const IdArrayType &thisGlobalMeshIndex, const IdArrayType &otherGlobalMeshIndex, const vtkm::cont::ArrayHandle< FieldType > &thisSortedValues, const vtkm::cont::ArrayHandle< FieldType > &otherSortedValues, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: CombinedSimulatedSimplicityIndexComparator.h:88
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 CombinedSimulatedSimplicityIndexComparator(const IdArrayType &thisGlobalMeshIndex, const IdArrayType &otherGlobalMeshIndex, const vtkm::cont::ArrayHandle< FieldType > &thisSortedValues, const vtkm::cont::ArrayHandle< FieldType > &otherSortedValues)
Definition: CombinedSimulatedSimplicityIndexComparator.h:197
vtkm::cont::ArrayHandle< FieldType > ThisSortedValues
Definition: CombinedSimulatedSimplicityIndexComparator.h:224
typename vtkm::cont::ArrayHandle< FieldType >::ReadPortalType ValuePortalType
Definition: CombinedSimulatedSimplicityIndexComparator.h:85
VTKM_EXEC_CONT FieldType GetSortedValue(vtkm::Id idx) const
Definition: CombinedSimulatedSimplicityIndexComparator.h:112
IdArrayType ThisGlobalMeshIndex
Definition: CombinedSimulatedSimplicityIndexComparator.h:222
IdArrayType OtherGlobalMeshIndex
Definition: CombinedSimulatedSimplicityIndexComparator.h:223
typename vtkm::cont::ArrayHandle< vtkm::Id >::ReadPortalType IdPortalType
Definition: CombinedSimulatedSimplicityIndexComparator.h:84