Go to the documentation of this file.
57 #ifndef vtkm_worklet_contourtree_copy_supernodes_h
58 #define vtkm_worklet_contourtree_copy_supernodes_h
78 WholeArrayOut regularToCritical,
79 WholeArrayOut supernodes,
80 WholeArrayOut updegree,
81 WholeArrayOut downdegree);
89 template <
typename OutFieldPortalType>
95 const OutFieldPortalType& regularToCritical,
96 const OutFieldPortalType& supernodes,
97 const OutFieldPortalType& updegree,
98 const OutFieldPortalType& downdegree)
const
103 regularToCritical.Set(regularID, superID);
104 supernodes.Set(superID, regularID);
105 updegree.Set(superID, upCandidate);
106 downdegree.Set(superID, downCandidate);
void(FieldIn isSupernode, FieldIn regularID, FieldIn superID, FieldIn upCandidate, FieldIn downCandidate, WholeArrayOut regularToCritical, WholeArrayOut supernodes, WholeArrayOut updegree, WholeArrayOut downdegree) ControlSignature
Definition: CopySupernodes.h:81
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
Definition: CopySupernodes.h:70
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
VTKM_EXEC_CONT CopySupernodes()
Definition: CopySupernodes.h:87
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
void(_1, _2, _3, _4, _5, _6, _7, _8, _9) ExecutionSignature
Definition: CopySupernodes.h:82
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: CopySupernodes.h:83
VTKM_EXEC void operator()(const vtkm::Id &isSupernode, const vtkm::Id ®ularID, const vtkm::Id &superID, const vtkm::Id &upCandidate, const vtkm::Id &downCandidate, const OutFieldPortalType ®ularToCritical, const OutFieldPortalType &supernodes, const OutFieldPortalType &updegree, const OutFieldPortalType &downdegree) const
Definition: CopySupernodes.h:90
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38