Go to the documentation of this file.
46 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_update_hyperstructure_set_hyperarcs_and_nodes_worklet_h
47 #define vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_update_hyperstructure_set_hyperarcs_and_nodes_worklet_h
56 namespace contourtree_distributed
58 namespace hierarchical_augmenter
68 WholeArrayIn newSupernodeIds,
79 template <
typename InFieldPortalType>
82 const vtkm::Id& oldTargetSuperIdMasked,
83 const InFieldPortalType& newSupernodeIdsPortal,
84 vtkm::Id& outAugmentedTreeHypernodesValue,
85 vtkm::Id& outAugmentedTreeHyperarcsValue
94 bool hyperarcAscends =
100 vtkm::Id newHypernodeSuperId = newSupernodeIdsPortal.Get(oldHypernodeSuperId);
105 newTargetSuperId = newSupernodeIdsPortal.Get(oldTargetSuperId);
113 outAugmentedTreeHypernodesValue = newHypernodeSuperId;
114 outAugmentedTreeHyperarcsValue = newTargetSuperId;
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:72
VTKM_EXEC_CONT bool IsAscending(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:121
#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
void(FieldIn baseTreeHypernodes, FieldIn baseTreeHyperarcs, WholeArrayIn newSupernodeIds, FieldOut augmentedTreeHypernodes, FieldOut augmentedTreeHyperarcs) ControlSignature
Control signature for the worklet.
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:71
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
Worklet used in HierarchicalAugmenter::UpdateHyperstructure to set the hyperarcs and hypernodes.
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:62
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
A control signature tag for input fields.
Definition: WorkletMapField.h:49
constexpr vtkm::Id IS_ASCENDING
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:77
_1 InputDomain
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:73
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73
VTKM_EXEC void operator()(const vtkm::Id &oldHypernodeSuperId, const vtkm::Id &oldTargetSuperIdMasked, const InFieldPortalType &newSupernodeIdsPortal, vtkm::Id &outAugmentedTreeHypernodesValue, vtkm::Id &outAugmentedTreeHyperarcsValue) const
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:80
VTKM_EXEC_CONT UpdateHyperstructureSetHyperarcsAndNodesWorklet()
Definition: UpdateHyperstructureSetHyperarcsAndNodesWorklet.h:77
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38