The source project of this merge request has been removed.
Extending system
Extended Discretizer.build()
interface to work with existing builders. Implemented features:
- If builder is provided, all sites, hoppings and leads from it would be added to new builder. Moreover, new builder won't overwrite any site or hopping.
- If
symmetry
orperiods
is provided, instead of returning lead itself, system with attached lead will be returned. - If, in addition,
tb_connect
argument is provided (of typeDiscretizer
), instead of using hoppings fromself
to attach new sites to old sites, hoppings from it would be used. Useful for creation of tunnel barriers. - Some simple tests for it are added, possibly needs extension.