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

Fixes: BECs, Hubbard in SC, and cell #39

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Fixes: BECs, Hubbard in SC, and cell #39

merged 1 commit into from
Aug 10, 2023

Conversation

bastonero
Copy link
Owner

The following fixes are done:

  • BECs were wrongly transposed with final indices [I,k,i]. The correct convention is [I,i,k], where:
  1. I atomic index
  2. i polarization index
  3. k displacement index All the other tensors remains correct.
  • The single-crystal setup are now computed using the unitcell reference, not the primitive cell. This does not change the single-crystal results when computed using cartesian inputs with the previous convention.
  • Small bug fix for the supercell Hubbard calculation.

This was verified against Quantum ESPRESSO using r-BaTiO3 using PBEsol, and against results of Popov et al., npj Comp. Mat. (2020).

The following fixes are done:
* BECs were wrongly transposed with final indices [I,k,i].
 The correct convention is [I,i,k], where:
 1. I atomic index
 2. i polarization index
 3. k displacement index
 All the other tensors remains correct.
 * The single-crystal setup are now computed using the
  unitcell reference, not the primitive cell. This does not
  change the single-crystal results when computed
  using cartesian inputs with the previous convention.
  * Small bug fix for the supercell Hubbard calculation.
@bastonero bastonero merged commit e687530 into main Aug 10, 2023
5 checks passed
@bastonero bastonero deleted the fix/becs branch August 10, 2023 15:07
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.

1 participant