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

#include <Particles.h>

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

Public Member Functions

VTKM_EXEC_CONT StateRecordingParticleExecutionObject ()
 
 StateRecordingParticleExecutionObject (vtkm::cont::ArrayHandle< ParticleType > pArray, vtkm::cont::ArrayHandle< vtkm::Vec3f > historyArray, vtkm::cont::ArrayHandle< vtkm::Id > validPointArray, vtkm::cont::ArrayHandle< vtkm::Id > stepCountArray, vtkm::Id maxSteps, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC void PreStepUpdate (const vtkm::Id &idx)
 
VTKM_EXEC void StepUpdate (const vtkm::Id &idx, const ParticleType &particle, vtkm::FloatDefault time, const vtkm::Vec3f &pt)
 
- Public Member Functions inherited from vtkm::worklet::flow::ParticleExecutionObject< ParticleType >
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 IdPortal = typename vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType
 
using HistoryPortal = typename vtkm::cont::ArrayHandle< vtkm::Vec3f >::WritePortalType
 
- Protected Types inherited from vtkm::worklet::flow::ParticleExecutionObject< ParticleType >
using ParticlePortal = typename vtkm::cont::ArrayHandle< ParticleType >::WritePortalType
 

Protected Attributes

HistoryPortal History
 
vtkm::Id Length
 
IdPortal StepCount
 
IdPortal ValidPoint
 
- Protected Attributes inherited from vtkm::worklet::flow::ParticleExecutionObject< ParticleType >
ParticlePortal Particles
 
vtkm::Id MaxSteps
 

Member Typedef Documentation

◆ HistoryPortal

template<typename ParticleType >
using vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::HistoryPortal = typename vtkm::cont::ArrayHandle<vtkm::Vec3f>::WritePortalType
protected

◆ IdPortal

template<typename ParticleType >
using vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::IdPortal = typename vtkm::cont::ArrayHandle<vtkm::Id>::WritePortalType
protected

Constructor & Destructor Documentation

◆ StateRecordingParticleExecutionObject() [1/2]

◆ StateRecordingParticleExecutionObject() [2/2]

template<typename ParticleType >
vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::StateRecordingParticleExecutionObject ( vtkm::cont::ArrayHandle< ParticleType >  pArray,
vtkm::cont::ArrayHandle< vtkm::Vec3f historyArray,
vtkm::cont::ArrayHandle< vtkm::Id validPointArray,
vtkm::cont::ArrayHandle< vtkm::Id stepCountArray,
vtkm::Id  maxSteps,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ PreStepUpdate()

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

◆ StepUpdate()

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

Member Data Documentation

◆ History

template<typename ParticleType >
HistoryPortal vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::History
protected

◆ Length

template<typename ParticleType >
vtkm::Id vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::Length
protected

◆ StepCount

template<typename ParticleType >
IdPortal vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::StepCount
protected

◆ ValidPoint

template<typename ParticleType >
IdPortal vtkm::worklet::flow::StateRecordingParticleExecutionObject< ParticleType >::ValidPoint
protected

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