triqs_modest.misc.fold
- triqs_modest.misc.fold()
 Dispatched C++ function(s).
[1] (sl: Superlattice, tb: TbHamiltonian) -> TbHamiltonian [2] (sl: Superlattice, obe: OneBodyElementsTb) -> OneBodyElementsTb
Convert a tight binding Hamiltonian to its superlattice equivalent.
- Parameters:
 - slSuperlattice
 The superlattice object containing its lattice vectors and locations of cluster points.
- obeOneBodyElementsTb
 A one-body elements containing the TB Hamiltonian.
- Returns:
 - OneBodyElementsTb
 One-body elements based on the superlattice tight binding Hamiltonian.