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

#include <MIR.h>

Inheritance diagram for vtkm::worklet::ComputeStats:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn, WholeArrayIn curVals, WholeArrayIn prevVals, FieldInCell offsets, ExecObject mirTables, FieldInCell parentObj, FieldInCell prevCol, FieldOutCell stats, FieldOutCell caseID)
 
using ExecutionSignature = void(CellShape, PointCount, _3, _2, _4, _5, _6, _7, _8, _9)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletVisitCellsWithPoints
using FieldInPoint = FieldInIncident
 
using FieldInCell = FieldInVisit
 
using FieldOutCell = FieldOut
 
using FieldInOutCell = FieldInOut
 
using PointCount = IncidentElementCount
 
using PointIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
using VisitTopologyType = vtkm::TopologyElementTagCell
 
using IncidentTopologyType = vtkm::TopologyElementTagPoint
 

Public Member Functions

VTKM_CONT ComputeStats (vtkm::Id target)
 
VTKM_CONT ComputeStats ()=default
 
template<typename CellShapeTag , typename ScalarFieldVec , typename ScalarFieldVec1 , typename DeviceAdapter , typename ScalarPos , typename ParentObj , typename PreCol >
VTKM_EXEC void operator() (const CellShapeTag shape, const vtkm::IdComponent pointCount, const ScalarFieldVec &prevVals, const ScalarFieldVec1 &newVals, const ScalarPos &valPositionStart, const vtkm::worklet::MIRCases::MIRTables::MIRDevicePortal< DeviceAdapter > &MIRData, const ParentObj &, const PreCol &prevCol, MIRStats &MIRStat, vtkm::Id &MIRDataIndex) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
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...
 

Public Attributes

vtkm::Id targ
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::ComputeStats::ControlSignature = void(CellSetIn, WholeArrayIn curVals, WholeArrayIn prevVals, FieldInCell offsets, ExecObject mirTables, FieldInCell parentObj, FieldInCell prevCol, FieldOutCell stats, FieldOutCell caseID)

◆ ExecutionSignature

using vtkm::worklet::ComputeStats::ExecutionSignature = void(CellShape, PointCount, _3, _2, _4, _5, _6, _7, _8, _9)

◆ InputDomain

Constructor & Destructor Documentation

◆ ComputeStats() [1/2]

VTKM_CONT vtkm::worklet::ComputeStats::ComputeStats ( vtkm::Id  target)
inline

◆ ComputeStats() [2/2]

VTKM_CONT vtkm::worklet::ComputeStats::ComputeStats ( )
default

Member Function Documentation

◆ operator()()

template<typename CellShapeTag , typename ScalarFieldVec , typename ScalarFieldVec1 , typename DeviceAdapter , typename ScalarPos , typename ParentObj , typename PreCol >
VTKM_EXEC void vtkm::worklet::ComputeStats::operator() ( const CellShapeTag  shape,
const vtkm::IdComponent  pointCount,
const ScalarFieldVec &  prevVals,
const ScalarFieldVec1 &  newVals,
const ScalarPos &  valPositionStart,
const vtkm::worklet::MIRCases::MIRTables::MIRDevicePortal< DeviceAdapter > &  MIRData,
const ParentObj &  ,
const PreCol &  prevCol,
MIRStats MIRStat,
vtkm::Id MIRDataIndex 
) const
inline

Member Data Documentation

◆ targ

vtkm::Id vtkm::worklet::ComputeStats::targ

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