Go to the documentation of this file.
46 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_update_hyperstructure_set_superchildren_worklet_h
47 #define vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_update_hyperstructure_set_superchildren_worklet_h
56 namespace contourtree_distributed
58 namespace hierarchical_augmenter
69 WholeArrayIn augmentedTreeHypernodes,
83 template <
typename InFieldPortalType>
86 const InFieldPortalType& augmentedTreeHypernodesPortal,
88 augmentedTreeSuperchildrenValue
93 vtkm::Id superId = augmentedTreeHypernodesPortal.Get(hypernode);
96 if (hypernode == augmentedTreeHypernodesPortal.GetNumberOfValues() - 1)
102 nextSuperId = augmentedTreeHypernodesPortal.Get(hypernode + 1);
105 augmentedTreeSuperchildrenValue = nextSuperId - superId;
#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 UpdateHyperstructureSetSuperchildrenWorklet(const vtkm::Id &augmentedTreeNumSupernodes)
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:77
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Worklet used in HierarchicalAugmenter::UpdateHyperstructure to set the superchildren The worklet find...
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:64
void(InputIndex, _1, _2) ExecutionSignature
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:72
_1 InputDomain
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:73
VTKM_EXEC void operator()(const vtkm::Id &hypernode, const InFieldPortalType &augmentedTreeHypernodesPortal, vtkm::Id &augmentedTreeSuperchildrenValue) const
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:84
void(WholeArrayIn augmentedTreeHypernodes, FieldOut augmentedTreeSuperchildren) ControlSignature
Control signature for the worklet.
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:71
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
const vtkm::Id AugmentedTreeNumSupernodes
Definition: UpdateHyperstructureSetSuperchildrenWorklet.h:127