2013-07-17 19:24:07 +02:00
|
|
|
.. index:: lattices
|
|
|
|
|
|
|
|
.. module:: pytriqs.lattice
|
|
|
|
|
|
|
|
.. _lattice:
|
|
|
|
|
|
|
|
Lattice Tools
|
|
|
|
=============
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Here, we take the simple square lattice in d=2 and compute the density of state. It produces :
|
|
|
|
|
|
|
|
.. 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
|
|
|
|
|
|
|
|
|