Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_hyper_sweeper_compute_superarc_transfer_weights_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_hierarchical_hyper_sweeper_compute_superarc_transfer_weights_worklet_h
63 namespace contourtree_distributed
65 namespace hierarchical_hyper_sweeper
76 hierarchicalTreeSupernodesView,
77 WholeArrayIn hierarchicalTreeSuperparents,
78 WholeArrayIn hierarchicalTreeHyperparents,
80 hierarchicalTreeSuperarcsView,
88 const vtkm::Id& hierarchicalTreeNumRounds,
96 template <
typename InFieldPortalType>
100 const InFieldPortalType& hierarchicalTreeSuperparentsPortal,
101 const InFieldPortalType& hierarchicalTreeHyperparentsPortal,
119 transferTarget = hierarchicalTreeSuperparentsPortal.Get(supernodeRegularId);
126 (hierarchicalTreeHyperparentsPortal.Get(supernode) ==
127 hierarchicalTreeHyperparentsPortal.Get(supernode + 1)))
#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
const vtkm::Id Round
Definition: ComputeSuperarcTransferWeightsWorklet.h:182
const vtkm::Id HierarchicalTreeNumRounds
Definition: ComputeSuperarcTransferWeightsWorklet.h:183
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
const vtkm::Id LastSupernode
Definition: ComputeSuperarcTransferWeightsWorklet.h:184
VTKM_EXEC_CONT ComputeSuperarcTransferWeightsWorklet(const vtkm::Id &round, const vtkm::Id &hierarchicalTreeNumRounds, const vtkm::Id &lastSupernode)
Definition: ComputeSuperarcTransferWeightsWorklet.h:87
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
VTKM_EXEC void operator()(const vtkm::Id &supernode, const vtkm::Id &supernodeRegularId, const InFieldPortalType &hierarchicalTreeSuperparentsPortal, const InFieldPortalType &hierarchicalTreeHyperparentsPortal, const vtkm::Id &superarcTo, vtkm::Id &transferTarget) const
Definition: ComputeSuperarcTransferWeightsWorklet.h:97
void(FieldIn supernodeIndex, FieldIn hierarchicalTreeSupernodesView, WholeArrayIn hierarchicalTreeSuperparents, WholeArrayIn hierarchicalTreeHyperparents, FieldIn hierarchicalTreeSuperarcsView, FieldOut transferTargetView) ControlSignature
Definition: ComputeSuperarcTransferWeightsWorklet.h:82
Worklet used in HierarchicalHyperSweeper.InitializeRegularVertexCount(...) to subtract out the low en...
Definition: ComputeSuperarcTransferWeightsWorklet.h:70
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
void(_1, _2, _3, _4, _5, _6) ExecutionSignature
Definition: ComputeSuperarcTransferWeightsWorklet.h:83