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
Branches
No related tags found
No related merge requests found
...@@ -124,9 +124,12 @@ class PropagatingModes: ...@@ -124,9 +124,12 @@ class PropagatingModes:
Notes Notes
===== =====
The sort order of all the three arrays is identical. The first half of the 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 have negative velocity, the second half have positive velocity.
modes with negative velocity are ordered from larger to lower momenta, the Within these halves the modes are ordered by the eigenvalues of any
modes with positive velocity vice versa. 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 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 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.
Please register or to comment