Public Types | List of all members
beluga::particle_traits< T > Struct Template Reference

Common traits of all particle types. See Page requirements as well. More...

#include <particle_traits.hpp>

Public Types

using state_type = std::decay_t< decltype(beluga::state(std::declval< T >()))>
 The particle state type. More...
 
using weight_type = std::decay_t< decltype(beluga::weight(std::declval< T >()))>
 The particle weight type. More...
 

Detailed Description

template<class T>
struct beluga::particle_traits< T >

Common traits of all particle types. See Page requirements as well.

Definition at line 31 of file particle_traits.hpp.

Member Typedef Documentation

◆ state_type

template<class T >
using beluga::particle_traits< T >::state_type = std::decay_t<decltype(beluga::state(std::declval<T>()))>

The particle state type.

Definition at line 33 of file particle_traits.hpp.

◆ weight_type

template<class T >
using beluga::particle_traits< T >::weight_type = std::decay_t<decltype(beluga::weight(std::declval<T>()))>

The particle weight type.

Definition at line 35 of file particle_traits.hpp.


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


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