Go to the documentation of this file.
63 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_init_to_combined_sort_order_arrays_worklet_h
64 #define vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_init_to_combined_sort_order_arrays_worklet_h
73 namespace contourtree_augmented
75 namespace mesh_dem_contourtree_mesh_inc
85 WholeArrayOut thisToCombinedSortOrder,
86 WholeArrayOut otherToCombinedSortOrder
95 template <
typename OutFieldPortalType>
98 const OutFieldPortalType& thisToCombinedSortOrderPortal,
99 const OutFieldPortalType& otherToCombinedSortOrderPortal)
const
101 if (
IsThis(overallSortOrderVal))
103 thisToCombinedSortOrderPortal.Set(
MaskedIndex(overallSortOrderVal), overallSortIndexVal);
107 otherToCombinedSortOrderPortal.Set(
MaskedIndex(overallSortOrderVal), overallSortIndexVal);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC void operator()(const vtkm::Id &overallSortIndexVal, const vtkm::Id &overallSortOrderVal, const OutFieldPortalType &thisToCombinedSortOrderPortal, const OutFieldPortalType &otherToCombinedSortOrderPortal) const
Definition: InitToCombinedSortOrderArraysWorklet.h:96
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
_1 InputDomain
Definition: InitToCombinedSortOrderArraysWorklet.h:89
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
void ControlSignature(FieldIn overallSortIndex, FieldIn overallSortOrder, WholeArrayOut thisToCombinedSortOrder, WholeArrayOut otherToCombinedSortOrder)
Definition: InitToCombinedSortOrderArraysWorklet.h:82
A control signature tag for input fields.
Definition: WorkletMapField.h:49
Definition: InitToCombinedSortOrderArraysWorklet.h:79
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_EXEC_CONT InitToCombinedSortOrderArraysWorklet()
Definition: InitToCombinedSortOrderArraysWorklet.h:93
void ExecutionSignature(_1, _2, _3, _4)
Definition: InitToCombinedSortOrderArraysWorklet.h:88
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38