lgca.nove_interactions.random_walk¶
- lgca.nove_interactions.random_walk(lgca)¶
Perform a random walk rearrangement on the lattice.
All particles of every occupied lattice site are redistributed uniformly over the velocity channels.
- Parameters:
lgca (LGCA_1D, LGCA_Square, LGCA_Hex, or LGCA_Cubic) – LGCA instance that the interaction is applied to. The lattice may be one-, two-, or three-dimensional.
Notes
lgca.nodesis overwritten with the new lattice configuration. No other attributes are updated.