lgca.interactions.birthdeath

lgca.interactions.birthdeath(lgca)

Perform a birth–death step followed by a random walk.

Parameters:
  • lgca (LGCA) – Lattice gas cellular automaton instance.

  • r_b (float) – Birth probability per empty channel.

  • r_d (float) – Death probability per occupied channel.

Returns:

Notes

The lgca object is modified in place.