Implementation of traits for particle types, see the Particle named requirements. More...
#include <beluga/primitives.hpp>#include <beluga/type_traits/tuple_traits.hpp>#include <range/v3/range/traits.hpp>

Go to the source code of this file.
Classes | |
| struct | beluga::detail::make_from_state_fn< Particle, State > |
| Function object type to create a particle from a given state. More... | |
| struct | beluga::particle_traits< T > |
| Common traits of all particle types. See Page requirements as well. More... | |
Namespaces | |
| beluga | |
| The main Beluga namespace. | |
| beluga::detail | |
Typedefs | |
| template<class T > | |
| using | beluga::state_t = typename particle_traits< T >::state_type |
| Type trait that returns the state type given a particle type. More... | |
| template<class T > | |
| using | beluga::weight_t = typename particle_traits< T >::weight_type |
| Type trait that returns the weight type given a particle type. More... | |
Variables | |
| template<class Particle > | |
| constexpr detail::make_from_state_fn< Particle > | beluga::make_from_state |
| A function object to create a particle from a given state. More... | |
Implementation of traits for particle types, see the Particle named requirements.
Definition in file particle_traits.hpp.