mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
edd1ff4529
A first general restructuration of the doc according to the pattern [tour|tutorial|reference]. In the reference part, objects are documented per topic. In each topic, [definition|c++|python|hdf5] (not yet implemented)
18 lines
552 B
ReStructuredText
18 lines
552 B
ReStructuredText
|
|
|
|
A tight-binding model on a square lattice
|
|
-----------------------------------------
|
|
|
|
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.
|
|
|
|
|
|
.. plot:: reference/lattice_tools/ex1.py
|
|
:include-source:
|
|
:scale: 70
|
|
|
|
More information on the lattice tools implemeted in TRIQS can be :doc:`found here <../../reference/lattice_tools/lattice>`
|
|
|