VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::CalcError Struct Reference

#include <MIR.h>

Inheritance diagram for vtkm::worklet::CalcError:
vtkm::worklet::WorkletReduceByKey vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(KeysIn cellID, ValuesIn cellColors, ValuesIn cellVols, WholeArrayIn origLen, WholeArrayIn origPos, WholeArrayIn origIDs, WholeArrayIn origVFs, WholeArrayIn curLen, WholeArrayIn curPos, WholeArrayIn curID, WholeArrayIn curVF, WholeArrayIn newLength, WholeArrayIn newposition, WholeArrayOut newIDs, WholeArrayOut newVFs, WholeArrayIn origVols, ReducedValuesOut totalErr)
 
using ExecutionSignature = void(ValueCount, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletReduceByKey
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherReduceByKey< Worklet >
 

Public Member Functions

 CalcError (vtkm::Float64 errorLerp)
 
template<typename Colors , typename ORL , typename ORP , typename ORID , typename NLO , typename ORVF , typename NID , typename NVF , typename Vols , typename TEO , typename CPos , typename CLen , typename CID , typename CVF , typename NLen , typename OVols >
VTKM_EXEC void operator() (const vtkm::IdComponent numCells, const vtkm::Id cellID, const Colors &cellCol, const Vols &cellVolumes, const ORL &orgLen, const ORP &orgPos, const ORID &orgID, const ORVF &orgVF, const CLen &curLen, const CPos &curPos, const CID &curID, const CVF &curVF, const NLen &, const NLO &inputPos, NID &inputIDs, NVF &inputVFs, const OVols &orgVols, TEO &totalErrorOut) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletReduceByKey
template<typename OutToInArrayType , typename VisitArrayType , typename ThreadToOutArrayType , typename InputDomainType >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC 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...
 

Private Attributes

vtkm::Float64 lerping
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::CalcError::ControlSignature = void(KeysIn cellID, ValuesIn cellColors, ValuesIn cellVols, WholeArrayIn origLen, WholeArrayIn origPos, WholeArrayIn origIDs, WholeArrayIn origVFs, WholeArrayIn curLen, WholeArrayIn curPos, WholeArrayIn curID, WholeArrayIn curVF, WholeArrayIn newLength, WholeArrayIn newposition, WholeArrayOut newIDs, WholeArrayOut newVFs, WholeArrayIn origVols, ReducedValuesOut totalErr)

◆ ExecutionSignature

using vtkm::worklet::CalcError::ExecutionSignature = void(ValueCount, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17)

◆ InputDomain

Constructor & Destructor Documentation

◆ CalcError()

vtkm::worklet::CalcError::CalcError ( vtkm::Float64  errorLerp)
inline

Member Function Documentation

◆ operator()()

template<typename Colors , typename ORL , typename ORP , typename ORID , typename NLO , typename ORVF , typename NID , typename NVF , typename Vols , typename TEO , typename CPos , typename CLen , typename CID , typename CVF , typename NLen , typename OVols >
VTKM_EXEC void vtkm::worklet::CalcError::operator() ( const vtkm::IdComponent  numCells,
const vtkm::Id  cellID,
const Colors &  cellCol,
const Vols &  cellVolumes,
const ORL &  orgLen,
const ORP &  orgPos,
const ORID &  orgID,
const ORVF &  orgVF,
const CLen &  curLen,
const CPos &  curPos,
const CID &  curID,
const CVF &  curVF,
const NLen &  ,
const NLO &  inputPos,
NID &  inputIDs,
NVF &  inputVFs,
const OVols &  orgVols,
TEO &  totalErrorOut 
) const
inline

Member Data Documentation

◆ lerping

vtkm::Float64 vtkm::worklet::CalcError::lerping
private

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