tightbinder.models.bethe_lattice#

bethe_lattice(z=3, depth=3, length=1)[source]#

Routine to generate a Bethe lattice.

Parameters:
  • z (int) – Coordination number. Defaults to 3

  • depth (int) – Number of shells of the lattice (central atom is depth 0)

  • length (float) – Float to specify length of bonds

Return type:

Tuple[list, list]

Returns:

Motif: list of all atoms’ positions