|
vSMC
vSMC: Scalable Monte Carlo
|
A thin wrapper over a complete Particle. More...
#include <vsmc/core/single_particle.hpp>
Public Member Functions | |
| SingleParticle (typename Particle< T >::size_type id, Particle< T > *particle_ptr) | |
A thin wrapper over a complete Particle.
This is the basic SingleParticle available for any type of Particle. To extend it for type T. One can either specialize vsmc::traits::SingleParticleBaseTypeTrait<T> or define a class template named single_particle_type within T with the following minimum requirement.
Usually you can safely derive single_particle_type<S> from SingleParticleBase<S> and add methods specific to S.
Definition at line 116 of file single_particle.hpp.
|
inline |
Definition at line 123 of file single_particle.hpp.
1.8.9.1