Classes | Namespaces | Typedefs | Variables
particle_traits.hpp File Reference

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>
Include dependency graph for particle_traits.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Implementation of traits for particle types, see the Particle named requirements.

Definition in file particle_traits.hpp.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53