VTK-m  2.2
Public Types | Public Member Functions | List of all members
vtkm::worklet::AverageByKey::AverageWorklet Struct Reference

#include <AverageByKey.h>

Inheritance diagram for vtkm::worklet::AverageByKey::AverageWorklet:
vtkm::worklet::WorkletReduceByKey vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(KeysIn keys, ValuesIn valuesIn, ReducedValuesOut averages)
 
using ExecutionSignature = void(_2, _3)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletReduceByKey
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherReduceByKey< Worklet >
 

Public Member Functions

template<typename ValuesVecType , typename OutType >
void operator() (const ValuesVecType &valuesIn, OutType &sum) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletReduceByKey
template<typename OutToInArrayType , typename VisitArrayType , typename ThreadToOutArrayType , typename InputDomainType >
vtkm::exec::arg::ThreadIndicesReduceByKey GetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &inputDomain) const
 Reduce by key worklets use the related thread indices class. More...
 

Member Typedef Documentation

◆ ControlSignature

◆ ExecutionSignature

◆ InputDomain

Member Function Documentation

◆ operator()()

template<typename ValuesVecType , typename OutType >
void vtkm::worklet::AverageByKey::AverageWorklet::operator() ( const ValuesVecType &  valuesIn,
OutType &  sum 
) const
inline

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