lgca.interactions.alignment¶
- lgca.interactions.alignment(lgca)¶
Align moving cells with their neighbours.
- Parameters:
lgca (LGCA) – Lattice gas cellular automaton instance.
beta (float) – Alignment strength with neighbouring velocities.
- Returns:
Notes
The
lgcaobject is modified in place.