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

bug fixes for Marianetti in wann_omega and wann_domega #1

Merged
merged 2 commits into from
Oct 5, 2018
Merged

bug fixes for Marianetti in wann_omega and wann_domega #1

merged 2 commits into from
Oct 5, 2018

Conversation

jaemolihm
Copy link

@jaemolihm jaemolihm commented Sep 4, 2018

The change in wann_omega is a correction on the implementation of Eq. (31) of the Marianetti et al. work [PRB 90, 165125 (2014)]. The point is that the first term of Eq. (31) does not have a 1/N factor. This makes the total spread non-negative, which should be true but not the case in the current test.

The change in wann_domega is a correction on the implementation of the first case of Eq. (20).
In this first case, the gradient should equal to the gradient in ordinary wannierization, but the wb(nn) factor was missing.

Jae-Mo Lihm
Seoul National University

@jaemolihm jaemolihm changed the title bug fixes in wann_omega and wann_domega for selective localization an… bug fixes for Marianetti in wann_omega and wann_domega Sep 28, 2018
@VVitale
Copy link
Owner

VVitale commented Sep 28, 2018

Dear @JaemoLim,
Sorry for the late reply. Thank you for this bug fix. I will go through the PR over the weekend.
Many thanks,
Valerio

@VVitale VVitale merged commit 45d8efe into VVitale:Marianetti Oct 5, 2018
@VVitale
Copy link
Owner

VVitale commented Oct 5, 2018

Dear @JaemoLim,
I have merged your code. I will make a PR to the original repo as soon as this wannier-developers#204 is accepted.

VVitale pushed a commit that referenced this pull request Nov 27, 2019
VVitale pushed a commit that referenced this pull request Feb 13, 2024
VVitale pushed a commit that referenced this pull request Feb 13, 2024
VVitale pushed a commit that referenced this pull request Feb 15, 2024
* Update format for `Postw90` and `Appendices`
* Update equations and notes format
VVitale pushed a commit that referenced this pull request Feb 15, 2024
* Update format for `Postw90` and `Appendices`
* Update equations and notes format
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