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

Add projectability-disentangled Wannier functions #448

Merged
merged 11 commits into from
Jun 23, 2024

Conversation

qiaojunfeng
Copy link
Collaborator

@qiaojunfeng qiaojunfeng commented Jul 7, 2023

Finally, rewrite the code on top of the current develop branch

TODOs:

@qiaojunfeng qiaojunfeng marked this pull request as ready for review July 13, 2023 13:25
qiaojunfeng and others added 9 commits June 21, 2024 11:51
* states with low projectability (< `dis_proj_min`) are discarded
* states with high projectability (>= `dis_proj_max`) are freezed
* remaining states are disentangled

Works the best with pseudo-atomic-orbital projection when computing the
Amn file, which generates the best projectability for the corresponding
pseudopotential calculation, and ensures projectabilities are in the
range of [0, 1].

Additionally, one could combine `dis_proj_min/max` with
`dis_froz_min/max`, so as to freeze the union of inner energy window and
high-projectability states, and exclude the union of states outside
outer energy window and having low projectability.

Added three input parameters:
* `dis_froz_proj`: boolean to activate projectability disentanglement
* `dis_proj_min`: projectability lower threshold
* `dis_proj_max`: projectability upper threshold
also fixup some issues after merge

fixup
Copy link
Collaborator

@JeromeCCP9 JeromeCCP9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Projectability-disentanglement functionality with tests and documentation.

@JeromeCCP9 JeromeCCP9 merged commit cf7f915 into wannier-developers:develop Jun 23, 2024
5 checks passed
@qiaojunfeng qiaojunfeng deleted the pdwf branch June 24, 2024 07:49
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.

2 participants