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

get correct virial for heat current #274

Merged
merged 2 commits into from
Sep 18, 2022
Merged

Conversation

brucefan1983
Copy link
Owner

@brucefan1983 brucefan1983 commented Sep 16, 2022

  • The heat current as calculated from the virial was incorrect for small box NEP MD (box length in periodic direction smaller than trwice of the cutoff). Now it is corrected.
  • Only the per-atom virial is changed. The total virial and stress are not affected. (Tested)
  • To solve this issue: virial for "small-box version of NEP" are not suitable for heat current #273
  • Also detecct some bad inputs regarding the box size.

@brucefan1983 brucefan1983 merged commit d049f49 into master Sep 18, 2022
@brucefan1983 brucefan1983 deleted the virial_for_small_box branch September 18, 2022 19:37
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