jaxdem.utils.randomizeOrientations#

Utility functions to randomize particle orientations.

Functions

randomize_orientations(state, key)

Randomize orientations for clumps (particles with repeated state.ID), leaving spheres unchanged.

jaxdem.utils.randomizeOrientations.randomize_orientations(state: State, key: jax.random.KeyArray) State[source][source]#

Randomize orientations for clumps (particles with repeated state.ID), leaving spheres unchanged.