VTK-m  2.0
Public Member Functions | Protected Types | Protected Attributes | List of all members
vtkm::worklet::flow::ParticleExecutionObject< ParticleType > Class Template Reference

#include <Particles.h>

Inheritance diagram for vtkm::worklet::flow::ParticleExecutionObject< ParticleType >:
vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >

Public Member Functions

VTKM_EXEC_CONT ParticleExecutionObject ()
 
 ParticleExecutionObject (vtkm::cont::ArrayHandle< ParticleType > particleArray, vtkm::Id maxSteps, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC ParticleType GetParticle (const vtkm::Id &idx)
 
VTKM_EXEC void PreStepUpdate (const vtkm::Id &vtkmNotUsed(idx))
 
VTKM_EXEC void StepUpdate (const vtkm::Id &idx, const ParticleType &particle, vtkm::FloatDefault time, const vtkm::Vec3f &pt)
 
VTKM_EXEC void StatusUpdate (const vtkm::Id &idx, const vtkm::worklet::flow::IntegratorStatus &status, vtkm::Id maxSteps)
 
VTKM_EXEC bool CanContinue (const vtkm::Id &idx)
 
VTKM_EXEC void UpdateTookSteps (const vtkm::Id &idx, bool val)
 

Protected Types

using ParticlePortal = typename vtkm::cont::ArrayHandle< ParticleType >::WritePortalType
 

Protected Attributes

ParticlePortal Particles
 
vtkm::Id MaxSteps
 

Member Typedef Documentation

◆ ParticlePortal

template<typename ParticleType >
using vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::ParticlePortal = typename vtkm::cont::ArrayHandle<ParticleType>::WritePortalType
protected

Constructor & Destructor Documentation

◆ ParticleExecutionObject() [1/2]

template<typename ParticleType >
VTKM_EXEC_CONT vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::ParticleExecutionObject ( )
inline

◆ ParticleExecutionObject() [2/2]

template<typename ParticleType >
vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::ParticleExecutionObject ( vtkm::cont::ArrayHandle< ParticleType >  particleArray,
vtkm::Id  maxSteps,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ CanContinue()

template<typename ParticleType >
VTKM_EXEC bool vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::CanContinue ( const vtkm::Id idx)
inline

◆ GetParticle()

template<typename ParticleType >
VTKM_EXEC ParticleType vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::GetParticle ( const vtkm::Id idx)
inline

◆ PreStepUpdate()

template<typename ParticleType >
VTKM_EXEC void vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::PreStepUpdate ( const vtkm::Id vtkmNotUsedidx)
inline

◆ StatusUpdate()

template<typename ParticleType >
VTKM_EXEC void vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::StatusUpdate ( const vtkm::Id idx,
const vtkm::worklet::flow::IntegratorStatus status,
vtkm::Id  maxSteps 
)
inline

◆ StepUpdate()

template<typename ParticleType >
VTKM_EXEC void vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::StepUpdate ( const vtkm::Id idx,
const ParticleType &  particle,
vtkm::FloatDefault  time,
const vtkm::Vec3f pt 
)
inline

◆ UpdateTookSteps()

template<typename ParticleType >
VTKM_EXEC void vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::UpdateTookSteps ( const vtkm::Id idx,
bool  val 
)
inline

Member Data Documentation

◆ MaxSteps

template<typename ParticleType >
vtkm::Id vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::MaxSteps
protected

◆ Particles

template<typename ParticleType >
ParticlePortal vtkm::worklet::flow::ParticleExecutionObject< ParticleType >::Particles
protected

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