Skip to content

WIP: Lexicographical sorting of sites

Jörg Behrmann requested to merge behrmann/kwant:feature/sorted_sites_py3 into master

This is a cleaned-up version of Adrien's patches for lexicographical sorting of Sites, that omits unused functions, makes them work with python3, adds a test and also makes the sorting optional if somebody does not want to pay the overhead of sorting.

If the sorting should not be optional the last commit can be reverted. All commits in between build and test successfully.

This patchset does not touch the finalization of infinite systems.

Fixes #6 (closed)

Merge request reports