Go to the documentation of this file.
63 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_replace_arc_num_with_to_vertex_worklet_h
64 #define vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_replace_arc_num_with_to_vertex_worklet_h
73 namespace contourtree_augmented
75 namespace mesh_dem_contourtree_mesh_inc
91 template <
typename InFieldPortalType>
95 (neighboursVal % 2 == 0) ?
MaskedIndex(arcsPortal.Get(neighboursVal / 2)) : neighboursVal / 2;
VTKM_EXEC_CONT ReplaceArcNumWithToVertexWorklet()
Definition: ReplaceArcNumWithToVertexWorklet.h:89
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
void ExecutionSignature(_1, _2)
Definition: ReplaceArcNumWithToVertexWorklet.h:84
void ControlSignature(FieldInOut neighbours, WholeArrayIn arcs)
Definition: ReplaceArcNumWithToVertexWorklet.h:82
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
_1 InputDomain
Definition: ReplaceArcNumWithToVertexWorklet.h:85
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:71
VTKM_EXEC void operator()(vtkm::Id &neighboursVal, const InFieldPortalType &arcsPortal) const
Definition: ReplaceArcNumWithToVertexWorklet.h:92
Definition: ReplaceArcNumWithToVertexWorklet.h:79
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38