VTK-m  2.0
Public Types | Public Member Functions | Private Member Functions | List of all members
vtkm::worklet::PointAverage Class Reference

#include <PointAverage.h>

Inheritance diagram for vtkm::worklet::PointAverage:
vtkm::worklet::WorkletVisitPointsWithCells vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn cellset, FieldInCell inCellField, FieldOutPoint outPointField)
 
using ExecutionSignature = void(CellCount, _2, _3)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletVisitPointsWithCells
using FieldInCell = FieldInIncident
 
using FieldInPoint = FieldInVisit
 
using FieldOutPoint = FieldOut
 
using FieldInOutPoint = FieldInOut
 
using CellCount = IncidentElementCount
 
using CellIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
using VisitTopologyType = vtkm::TopologyElementTagPoint
 
using IncidentTopologyType = vtkm::TopologyElementTagCell
 

Public Member Functions

template<typename CellValueVecType , typename OutType >
VTKM_EXEC void operator() (const vtkm::IdComponent &numCells, const CellValueVecType &cellValues, OutType &average) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTagGetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Topology map worklets use topology map indices. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::DefaultScatterAndMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 Optimized for ScatterIdentity and MaskNone. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Default version. More...
 

Private Member Functions

template<typename CellValueVecType , typename OutType >
VTKM_EXEC void DoAverage (const vtkm::IdComponent &numCells, const CellValueVecType &cellValues, OutType &average, std::true_type) const
 
template<typename CellValueVecType , typename OutType >
VTKM_EXEC void DoAverage (const vtkm::IdComponent &vtkmNotUsed(numCells), const CellValueVecType &vtkmNotUsed(cellValues), OutType &vtkmNotUsed(average), std::false_type) const
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::PointAverage::ControlSignature = void(CellSetIn cellset, FieldInCell inCellField, FieldOutPoint outPointField)

◆ ExecutionSignature

◆ InputDomain

Member Function Documentation

◆ DoAverage() [1/2]

template<typename CellValueVecType , typename OutType >
VTKM_EXEC void vtkm::worklet::PointAverage::DoAverage ( const vtkm::IdComponent numCells,
const CellValueVecType &  cellValues,
OutType &  average,
std::true_type   
) const
inlineprivate

◆ DoAverage() [2/2]

template<typename CellValueVecType , typename OutType >
VTKM_EXEC void vtkm::worklet::PointAverage::DoAverage ( const vtkm::IdComponent vtkmNotUsednumCells,
const CellValueVecType &  vtkmNotUsedcellValues,
OutType &  vtkmNotUsedaverage,
std::false_type   
) const
inlineprivate

◆ operator()()

template<typename CellValueVecType , typename OutType >
VTKM_EXEC void vtkm::worklet::PointAverage::operator() ( const vtkm::IdComponent numCells,
const CellValueVecType &  cellValues,
OutType &  average 
) const
inline

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