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.
|
|
|
|
|
|
|
|
|
2013-12-23 18:58:03 +01:00
|
|
|
.. plot:: reference/python/lattice/ex1.py
|
|
|
|
:include-source:
|
|
|
|
:scale: 70
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-31 00:04:09 +02:00
|
|
|
More information on the lattice tools implemeted in TRIQS can be :doc:`found here <../../reference/python/lattice/lattice>`
|
2013-07-17 19:24:07 +02:00
|
|
|
|