tightbinder.system.generate_near_cells#
- generate_near_cells(bravais_lattice, n=1, half=False)[source]#
Auxiliary routine to generate the Bravais vectors corresponding to unit cells neighbouring the origin one. NB: It only generates half of them, since we are going to use hermiticity to generate the Hamiltonian.
- Parameters:
- Return type:
ndarray- Returns:
Array with combinations of Bravais basis vectors.