Skip to content
Snippets Groups Projects
Forked from kwant / kwant
281 commits behind, 106 commits ahead of the upstream repository.
  • Joseph Weston's avatar
    4c0593c4
    update all relevant 'isinstance' checks on systems · 4c0593c4
    Joseph Weston authored
    We now have *System and *System2, so the old 'isinstance' checks
    will not be complete. We add convenience functions in 'kwant.system'
    and 'kwant.builder' to check against all the relvant classes.
    We leave the original 'isinstance' checks in 'kwant.physics.gauge'
    because that module does not work with vectorize systems yet.
    4c0593c4
    History
    update all relevant 'isinstance' checks on systems
    Joseph Weston authored
    We now have *System and *System2, so the old 'isinstance' checks
    will not be complete. We add convenience functions in 'kwant.system'
    and 'kwant.builder' to check against all the relvant classes.
    We leave the original 'isinstance' checks in 'kwant.physics.gauge'
    because that module does not work with vectorize systems yet.
system.py 29.94 KiB