Go to the documentation of this file.
63 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_combined_vector_different_from_next_h
64 #define vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_combined_vector_different_from_next_h
74 namespace contourtree_augmented
76 namespace mesh_dem_contourtree_mesh_inc
84 template <
typename Portal1Type,
typename Portal2Type,
typename Portal3Type>
102 return (currGlobalIdx != nextGlobalIdx) ? 1 : 0;
106 template <
typename PT1,
typename PT2,
typename PT3>
108 PT2 ThisGlobalMeshIndex,
109 PT3 OtherGlobalMeshIndex)
const
111 return { OverallSortOrderPortal, ThisGlobalMeshIndex, OtherGlobalMeshIndex };
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
Definition: CombinedVectorDifferentFromNext.h:85
Portal2Type ThisGlobalMeshIndex
Definition: CombinedVectorDifferentFromNext.h:88
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC_CONT vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
Definition: CombinedVectorDifferentFromNext.h:91
VTKM_EXEC_CONT vtkm::Id operator()(vtkm::Id i) const
Definition: CombinedVectorDifferentFromNext.h:98
Portal3Type OtherGlobalMeshIndex
Definition: CombinedVectorDifferentFromNext.h:89
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
Decorator to compute if element i is different from element i+1 in an arrays.
Definition: CombinedVectorDifferentFromNext.h:81
Portal1Type OverallSortOrderPortal
Definition: CombinedVectorDifferentFromNext.h:87
Functor< PT1, PT2, PT3 > CreateFunctor(PT1 OverallSortOrderPortal, PT2 ThisGlobalMeshIndex, PT3 OtherGlobalMeshIndex) const
Definition: CombinedVectorDifferentFromNext.h:107