lgca.interactions.birth¶
- lgca.interactions.birth(lgca)¶
Perform a simple birth step followed by a random walk.
- Parameters:
lgca (LGCA) – Lattice gas cellular automaton instance.
r_b (float) – Birth probability per empty channel; effective probability is
r_b * n / lgca.Kfor local densityn.
- Returns:
Notes
The
lgcaobject is modified in place.