VTK-m  2.0
Public Types | Public Member Functions | Public Attributes | List of all members
vtkm::worklet::cosmotools::GraftParticles< T > Class Template Reference

#include <GraftParticles.h>

Inheritance diagram for vtkm::worklet::cosmotools::GraftParticles< T >:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn index, FieldIn partId, FieldIn binId, FieldIn activeFlag, WholeArrayIn partIdArray, WholeArrayIn location, WholeArrayIn firstParticleId, WholeArrayIn lastParticleId, WholeArrayOut haloId)
 
using ExecutionSignature = void(_1, _2, _3, _4, _5, _6, _7, _8, _9)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

VTKM_EXEC_CONT GraftParticles (const vtkm::Id XNum, const vtkm::Id YNum, const vtkm::Id ZNum, const vtkm::Id NumNeighbors, const T LinkLen)
 
template<typename InIdPortalType , typename InFieldPortalType , typename InVectorPortalType , typename OutPortalType >
VTKM_EXEC void operator() (const vtkm::Id &i, const vtkm::Id &iPartId, const vtkm::Id &iBinId, const vtkm::UInt32 &activeFlag, const InIdPortalType &partIdArray, const InFieldPortalType &location, const InVectorPortalType &firstParticleId, const InVectorPortalType &lastParticleId, OutPortalType &haloId) const
 

Public Attributes

vtkm::Id xNum
 
vtkm::Id yNum
 
vtkm::Id zNum
 
vtkm::Id NUM_NEIGHBORS
 
linkLenSq
 

Member Typedef Documentation

◆ ControlSignature

template<typename T >
using vtkm::worklet::cosmotools::GraftParticles< T >::ControlSignature = void(FieldIn index, FieldIn partId, FieldIn binId, FieldIn activeFlag, WholeArrayIn partIdArray, WholeArrayIn location, WholeArrayIn firstParticleId, WholeArrayIn lastParticleId, WholeArrayOut haloId)

◆ ExecutionSignature

template<typename T >
using vtkm::worklet::cosmotools::GraftParticles< T >::ExecutionSignature = void(_1, _2, _3, _4, _5, _6, _7, _8, _9)

◆ InputDomain

template<typename T >
using vtkm::worklet::cosmotools::GraftParticles< T >::InputDomain = _1

Constructor & Destructor Documentation

◆ GraftParticles()

template<typename T >
VTKM_EXEC_CONT vtkm::worklet::cosmotools::GraftParticles< T >::GraftParticles ( const vtkm::Id  XNum,
const vtkm::Id  YNum,
const vtkm::Id  ZNum,
const vtkm::Id  NumNeighbors,
const T  LinkLen 
)
inline

Member Function Documentation

◆ operator()()

template<typename T >
template<typename InIdPortalType , typename InFieldPortalType , typename InVectorPortalType , typename OutPortalType >
VTKM_EXEC void vtkm::worklet::cosmotools::GraftParticles< T >::operator() ( const vtkm::Id i,
const vtkm::Id iPartId,
const vtkm::Id iBinId,
const vtkm::UInt32 activeFlag,
const InIdPortalType &  partIdArray,
const InFieldPortalType &  location,
const InVectorPortalType &  firstParticleId,
const InVectorPortalType &  lastParticleId,
OutPortalType &  haloId 
) const
inline

Member Data Documentation

◆ linkLenSq

template<typename T >
T vtkm::worklet::cosmotools::GraftParticles< T >::linkLenSq

◆ NUM_NEIGHBORS

template<typename T >
vtkm::Id vtkm::worklet::cosmotools::GraftParticles< T >::NUM_NEIGHBORS

◆ xNum

template<typename T >
vtkm::Id vtkm::worklet::cosmotools::GraftParticles< T >::xNum

◆ yNum

template<typename T >
vtkm::Id vtkm::worklet::cosmotools::GraftParticles< T >::yNum

◆ zNum

template<typename T >
vtkm::Id vtkm::worklet::cosmotools::GraftParticles< T >::zNum

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