Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onsiteselector!(model) and hoppingselector!(model) #18

Merged
merged 2 commits into from
Apr 8, 2020
Merged

Conversation

pablosanjose
Copy link
Owner

@pablosanjose pablosanjose commented Apr 8, 2020

Closes #15

This introduces onsiteselector!(m::TightbindingModel; kw...) and hoppingselector!(m::TightbindingModel; kw...) that overwrites the selectors of all onsite or hopping terms in model m, respectively, with the keywords kw corresponding to onsiteselector and hoppingselector

@pablosanjose pablosanjose merged commit e338fce into master Apr 8, 2020
@pablosanjose pablosanjose deleted the selector! branch April 9, 2020 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redefine the onsiteselectors and hoppingselectors of a TightbindingModel
1 participant