VTK-m  1.8
Public Member Functions | Public Attributes | Friends | List of all members
vtkm::Particle Class Reference

#include <Particle.h>

Public Member Functions

VTKM_EXEC_CONT Particle ()
 
VTKM_EXEC_CONT Particle (const vtkm::Vec3f &p, const vtkm::Id &id, const vtkm::Id &numSteps=0, const vtkm::ParticleStatus &status=vtkm::ParticleStatus(), const vtkm::FloatDefault &time=0)
 
VTKM_EXEC_CONT Particle (const vtkm::Particle &p)
 
vtkm::Particleoperator= (const vtkm::Particle &)=default
 
VTKM_EXEC_CONT ~Particle () noexcept
 
VTKM_EXEC_CONT vtkm::Vec3f Velocity (const vtkm::VecVariable< vtkm::Vec3f, 2 > &vectors, const vtkm::FloatDefault &vtkmNotUsed(length))
 
VTKM_EXEC_CONT vtkm::Vec3f GetEvaluationPosition (const vtkm::FloatDefault &deltaT) const
 

Public Attributes

vtkm::Vec3f Pos
 
vtkm::Id ID = -1
 
vtkm::Id NumSteps = 0
 
vtkm::ParticleStatus Status
 
vtkm::FloatDefault Time = 0
 

Friends

VTKM_CONT friend std::ostream & operator<< (std::ostream &out, const vtkm::Particle &p)
 

Constructor & Destructor Documentation

◆ Particle() [1/3]

VTKM_EXEC_CONT vtkm::Particle::Particle ( )
inline

◆ Particle() [2/3]

VTKM_EXEC_CONT vtkm::Particle::Particle ( const vtkm::Vec3f p,
const vtkm::Id id,
const vtkm::Id numSteps = 0,
const vtkm::ParticleStatus status = vtkm::ParticleStatus(),
const vtkm::FloatDefault time = 0 
)
inline

◆ Particle() [3/3]

VTKM_EXEC_CONT vtkm::Particle::Particle ( const vtkm::Particle p)
inline

◆ ~Particle()

VTKM_EXEC_CONT vtkm::Particle::~Particle ( )
inlinenoexcept

Member Function Documentation

◆ GetEvaluationPosition()

VTKM_EXEC_CONT vtkm::Vec3f vtkm::Particle::GetEvaluationPosition ( const vtkm::FloatDefault deltaT) const
inline

◆ operator=()

vtkm::Particle& vtkm::Particle::operator= ( const vtkm::Particle )
default

◆ Velocity()

VTKM_EXEC_CONT vtkm::Vec3f vtkm::Particle::Velocity ( const vtkm::VecVariable< vtkm::Vec3f, 2 > &  vectors,
const vtkm::FloatDefault vtkmNotUsedlength 
)
inline

Friends And Related Function Documentation

◆ operator<<

VTKM_CONT friend std::ostream& operator<< ( std::ostream &  out,
const vtkm::Particle p 
)
friend

Member Data Documentation

◆ ID

vtkm::Id vtkm::Particle::ID = -1

◆ NumSteps

vtkm::Id vtkm::Particle::NumSteps = 0

◆ Pos

vtkm::Vec3f vtkm::Particle::Pos

◆ Status

vtkm::ParticleStatus vtkm::Particle::Status

◆ Time

vtkm::FloatDefault vtkm::Particle::Time = 0

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