Function object type to create a particle from a given state. More...
#include <particle_traits.hpp>
Public Member Functions | |
constexpr auto | operator() (State value) const |
Returns a new particle from the given state. More... | |
Function object type to create a particle from a given state.
Definition at line 84 of file particle_traits.hpp.
|
inlineconstexpr |
Returns a new particle from the given state.
value | The state to make the particle from. |
The new particle will have a weight equal to 1.
Definition at line 92 of file particle_traits.hpp.