Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_copy_first_supernode_per_iteration_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_copy_first_supernode_per_iteration_worklet_h
64 namespace contourtree_distributed
66 namespace tree_grafter
76 WholeArrayIn hierarchicalTreeWhichIteration,
78 hierarchicalTreeFirstSupernodePerIteration
91 template <
typename InFieldPortalType,
typename OutFieldPortalType>
94 const InFieldPortalType& hierarchicalTreeWhichIterationPortal,
95 const OutFieldPortalType& hierarchicalTreeFirstSupernodePerIterationPortal
103 hierarchicalTreeFirstSupernodePerIterationPortal.Set(0, newSupernode);
109 hierarchicalTreeWhichIterationPortal.Get(newSupernode)) !=
111 hierarchicalTreeWhichIterationPortal.Get(newSupernode - 1)))
113 hierarchicalTreeFirstSupernodePerIterationPortal.Set(
115 hierarchicalTreeWhichIterationPortal.Get(newSupernode)),
VTKM_EXEC void operator()(const vtkm::Id &newSupernode, const InFieldPortalType &hierarchicalTreeWhichIterationPortal, const OutFieldPortalType &hierarchicalTreeFirstSupernodePerIterationPortal) const
Definition: CopyFirstSupernodePerIterationWorklet.h:92
#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
vtkm::Id NumOldSupernodes
Definition: CopyFirstSupernodePerIterationWorklet.h:138
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 CopyFirstSupernodePerIterationWorklet(vtkm::Id numOldSupernodes)
Definition: CopyFirstSupernodePerIterationWorklet.h:86
void(_1, _2, _3) ExecutionSignature
Definition: CopyFirstSupernodePerIterationWorklet.h:81
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: CopyFirstSupernodePerIterationWorklet.h:82
void(FieldIn newSupernode, WholeArrayIn hierarchicalTreeWhichIteration, WholeArrayInOut hierarchicalTreeFirstSupernodePerIteration) ControlSignature
Definition: CopyFirstSupernodePerIterationWorklet.h:79
Worklet implementing the copy of the first supernode per iteration in TreeGrafter::CopyIterationDetai...
Definition: CopyFirstSupernodePerIterationWorklet.h:70
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38