Skip to content
Snippets Groups Projects
Commit 601520b7 authored by Joseph Weston's avatar Joseph Weston
Browse files

merge branch 'stable_py2'

update the mode ordering documentation as it applies to kwant>=1.3.
parents fbc13c68 53a12b13
No related branches found
No related tags found
No related merge requests found
......@@ -124,9 +124,12 @@ class PropagatingModes:
Notes
=====
The sort order of all the three arrays is identical. The first half of the
modes have negative velocity, the second half have positive velocity. The
modes with negative velocity are ordered from larger to lower momenta, the
modes with positive velocity vice versa.
modes have negative velocity, the second half have positive velocity.
Within these halves the modes are ordered by the eigenvalues of any
declared conservation laws. Within blocks with the same conservation law
eigenvalue the modes with negative velocity are ordered by increasing
momentum, and the modes with positive velocity are ordered by decreasing
momentum. Finally, modes are ordered by the magnitude of their velocity.
The first dimension of `wave_functions` corresponds to the orbitals of all
the sites in a unit cell, the second one to the number of the mode. Each
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment