vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::SingleParticleBase< T > Class Template Reference

A thin wrapper over a complete Particle. More...

#include <vsmc/core/single_particle.hpp>

Public Member Functions

 SingleParticleBase (typename Particle< T >::size_type id, Particle< T > *pptr)
 
Particle< T >::size_type id () const
 
Particle< T > & particle () const
 
Particle< T > * particle_ptr () const
 
Particle< T >::rng_type & rng ()
 

Detailed Description

template<typename T>
class vsmc::SingleParticleBase< T >

A thin wrapper over a complete Particle.

Definition at line 53 of file single_particle.hpp.

Constructor & Destructor Documentation

template<typename T>
vsmc::SingleParticleBase< T >::SingleParticleBase ( typename Particle< T >::size_type  id,
Particle< T > *  pptr 
)
inline

Definition at line 56 of file single_particle.hpp.

Member Function Documentation

template<typename T>
Particle<T>::size_type vsmc::SingleParticleBase< T >::id ( ) const
inline

Definition at line 61 of file single_particle.hpp.

template<typename T>
Particle<T>& vsmc::SingleParticleBase< T >::particle ( ) const
inline

Definition at line 63 of file single_particle.hpp.

template<typename T>
Particle<T>* vsmc::SingleParticleBase< T >::particle_ptr ( ) const
inline

Definition at line 65 of file single_particle.hpp.

template<typename T>
Particle<T>::rng_type& vsmc::SingleParticleBase< T >::rng ( )
inline

Definition at line 67 of file single_particle.hpp.