Variable beluga::make_from_state

Variable Documentation

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.

Takes a state and returns a new particle with that state. The new particle is given a weight of 1.

Template Parameters:

Particle – The particle type to be created.