2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
|
2013-09-17 14:55:55 +02:00
|
|
|
A tight-binding model on a square lattice
|
|
|
|
-----------------------------------------
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
Let us now consider free fermions on a Bravais lattice.
|
|
|
|
We will set up a square lattice with the nearest
|
|
|
|
neighbour hopping using the ``BravaisLattice`` class of TRIQS, compute its
|
|
|
|
density of states (DOS) and then plot it by using again the ``oplot`` function.
|
|
|
|
|
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
.. plot:: reference/lattice_tools/ex1.py
|
2013-12-23 18:58:03 +01:00
|
|
|
:include-source:
|
|
|
|
:scale: 70
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
More information on the lattice tools implemeted in TRIQS can be :doc:`found here <../../reference/lattice_tools/lattice>`
|
2013-07-17 19:24:07 +02:00
|
|
|
|