random_force: Modify the velocity randomly at each step

random_forceR Documentation

Modify the velocity randomly at each step

Description

This force applies a random velocity modification to all particles. The modification is uniformly distributed and bound be the parameters provided during initialisation.

Training parameters

The following parameters defines the training of the force and can be passed along a call to wield()

  • xmin, xmax : The bounds of the modification in the horizontal direction

  • ymin, ymax : The bounds of the modification in the vertical direction

See Also

Other forces: center_force, collision_force, field_force, link_force, manybody_force, map_force, mean_force, reset_force, trap_force, x_force, y_force


particles documentation built on Aug. 19, 2022, 5:06 p.m.