VTK-m  2.0
Public Member Functions | Static Public Member Functions | Private 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
 
const VTKM_EXEC_CONT vtkm::Vec3fGetPosition () const
 
VTKM_EXEC_CONT void SetPosition (const vtkm::Vec3f &position)
 
VTKM_EXEC_CONT vtkm::Id GetID () const
 
VTKM_EXEC_CONT void SetID (vtkm::Id id)
 
VTKM_EXEC_CONT vtkm::Id GetNumberOfSteps () const
 
VTKM_EXEC_CONT void SetNumberOfSteps (vtkm::Id numSteps)
 
VTKM_EXEC_CONT vtkm::ParticleStatus GetStatus () const
 
VTKM_EXEC_CONT vtkm::ParticleStatusGetStatus ()
 
VTKM_EXEC_CONT void SetStatus (vtkm::ParticleStatus status)
 
VTKM_EXEC_CONT vtkm::FloatDefault GetTime () const
 
VTKM_EXEC_CONT void SetTime (vtkm::FloatDefault time)
 
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
 

Static Public Member Functions

static size_t Sizeof ()
 

Private Attributes

vtkm::Vec3f Position
 
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

◆ GetID()

VTKM_EXEC_CONT vtkm::Id vtkm::Particle::GetID ( ) const
inline

◆ GetNumberOfSteps()

VTKM_EXEC_CONT vtkm::Id vtkm::Particle::GetNumberOfSteps ( ) const
inline

◆ GetPosition()

const VTKM_EXEC_CONT vtkm::Vec3f& vtkm::Particle::GetPosition ( ) const
inline

◆ GetStatus() [1/2]

VTKM_EXEC_CONT vtkm::ParticleStatus& vtkm::Particle::GetStatus ( )
inline

◆ GetStatus() [2/2]

VTKM_EXEC_CONT vtkm::ParticleStatus vtkm::Particle::GetStatus ( ) const
inline

◆ GetTime()

VTKM_EXEC_CONT vtkm::FloatDefault vtkm::Particle::GetTime ( ) const
inline

◆ operator=()

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

◆ SetID()

VTKM_EXEC_CONT void vtkm::Particle::SetID ( vtkm::Id  id)
inline

◆ SetNumberOfSteps()

VTKM_EXEC_CONT void vtkm::Particle::SetNumberOfSteps ( vtkm::Id  numSteps)
inline

◆ SetPosition()

VTKM_EXEC_CONT void vtkm::Particle::SetPosition ( const vtkm::Vec3f position)
inline

◆ SetStatus()

VTKM_EXEC_CONT void vtkm::Particle::SetStatus ( vtkm::ParticleStatus  status)
inline

◆ SetTime()

VTKM_EXEC_CONT void vtkm::Particle::SetTime ( vtkm::FloatDefault  time)
inline

◆ Sizeof()

static size_t vtkm::Particle::Sizeof ( )
inlinestatic

◆ 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
private

◆ NumSteps

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

◆ Position

vtkm::Vec3f vtkm::Particle::Position
private

◆ Status

vtkm::ParticleStatus vtkm::Particle::Status
private

◆ Time

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

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