Forked from
kwant / kwant
281 commits behind, 106 commits ahead of the upstream repository.
-
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.
Joseph Weston authoredWe 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