2013-07-17 19:24:07 +02:00
|
|
|
.. index:: lattices
|
|
|
|
|
|
|
|
.. module:: pytriqs.lattice
|
|
|
|
|
|
|
|
.. _lattice:
|
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
Lattice tools
|
2013-07-17 19:24:07 +02:00
|
|
|
=============
|
|
|
|
|
|
|
|
TRIQS comes with a couple of modules that allow to work with free fermions on Bravais lattices, with
|
|
|
|
tight-binding hoppings.
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
This part of the documentation largely is work in progress ...
|
|
|
|
|
|
|
|
Introductory example
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. literalinclude:: ex1.py
|
|
|
|
:lines: 1-34
|
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
Here, we take the simple square lattice in d=2 and compute the density of state. It produces:
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
.. image:: ex1.png
|
|
|
|
:width: 700
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
Reference manual
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
bravais
|
2013-12-23 18:58:03 +01:00
|
|
|
tightbinding_and_example
|
2013-07-17 19:24:07 +02:00
|
|
|
dos
|
|
|
|
hilbert
|
|
|
|
sumk
|
|
|
|
|
|
|
|
|