VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet Class Reference

Worklet used in HierarchicalHyperSweeper.TransferWeights(...) to implement step 7a. More...

#include <TransferWeightsUpdateRHEWorklet.h>

Inheritance diagram for vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn supernodeIndex, WholeArrayIn sortedTransferTarget, FieldIn valuePrefixSumView, WholeArrayInOut dependentValuesPortal)
 
using ExecutionSignature = void(_1, _2, _3, _4)
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

VTKM_EXEC_CONT TransferWeightsUpdateRHEWorklet (const vtkm::Id &lastSupernode)
 
template<typename InPortalType , typename OutPortalType >
VTKM_EXEC void operator() (const vtkm::Id &supernode, const InPortalType &sortedTransferTargetPortal, const vtkm::Id &valuePrefixSum, OutPortalType &dependentValuesPortal) const
 

Private Attributes

const vtkm::Id LastSupernode
 

Detailed Description

Worklet used in HierarchicalHyperSweeper.TransferWeights(...) to implement step 7a.

Find the RHE of each group and transfer the prefix sum weight. Note that we do not compute the transfer weight separately, we add it in place instead

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet::ControlSignature = void(FieldIn supernodeIndex, WholeArrayIn sortedTransferTarget, FieldIn valuePrefixSumView, WholeArrayInOut dependentValuesPortal)

◆ ExecutionSignature

Constructor & Destructor Documentation

◆ TransferWeightsUpdateRHEWorklet()

VTKM_EXEC_CONT vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet::TransferWeightsUpdateRHEWorklet ( const vtkm::Id lastSupernode)
inline

Member Function Documentation

◆ operator()()

template<typename InPortalType , typename OutPortalType >
VTKM_EXEC void vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet::operator() ( const vtkm::Id supernode,
const InPortalType &  sortedTransferTargetPortal,
const vtkm::Id valuePrefixSum,
OutPortalType &  dependentValuesPortal 
) const
inline

Member Data Documentation

◆ LastSupernode

const vtkm::Id vtkm::worklet::contourtree_distributed::hierarchical_hyper_sweeper::TransferWeightsUpdateRHEWorklet::LastSupernode
private

The documentation for this class was generated from the following file: