Go to the documentation of this file.
57 #ifndef vtkm_worklet_contourtree_copy_neighbors_h
58 #define vtkm_worklet_contourtree_copy_neighbors_h
76 WholeArrayIn activeSupernodes,
86 template <
typename InFieldPortalType>
88 const InFieldPortalType& activeSupernodes,
89 const InFieldPortalType& arcs)
const
92 vtkm::Id superID = activeSupernodes.Get(activeSupernode);
93 vtkm::Id neighbour = arcs.Get(superID);
94 sortVector = neighbour;
void(FieldIn activeSupernode, WholeArrayIn activeSupernodes, WholeArrayIn arcs, FieldOut sortVector) ControlSignature
Definition: CopyNeighbors.h:78
_1 InputDomain
Definition: CopyNeighbors.h:80
#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
A control signature tag for output fields.
Definition: WorkletMapField.h:60
VTKM_EXEC_CONT CopyNeighbors()
Definition: CopyNeighbors.h:84
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_4(_1, _2, _3) ExecutionSignature
Definition: CopyNeighbors.h:79
VTKM_EXEC vtkm::Id operator()(const vtkm::Id &activeSupernode, const InFieldPortalType &activeSupernodes, const InFieldPortalType &arcs) const
Definition: CopyNeighbors.h:87
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
Definition: CopyNeighbors.h:71