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

lmp: support other units for both pair deepmd and fix dplr #2800

Merged
merged 46 commits into from Sep 18, 2023

Conversation

Yi-FanLi
Copy link
Collaborator

@Yi-FanLi Yi-FanLi commented Sep 9, 2023

This PR is intended to do 2 things:

  1. support other unit styles like si and nano (except lj);
  2. support the non-metal units for fix dplr and compute deeptensor/atom.

Unittests for both features mentioned above have also been added in this pull request.

@github-actions github-actions bot added the LAMMPS label Sep 9, 2023
@Yi-FanLi Yi-FanLi marked this pull request as draft September 9, 2023 14:50
@codecov
Copy link

codecov bot commented Sep 9, 2023

Codecov Report

Patch coverage: 89.91% and project coverage change: +0.02% 🎉

Comparison is base (0d5737f) 75.45% compared to head (c671f24) 75.48%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2800      +/-   ##
==========================================
+ Coverage   75.45%   75.48%   +0.02%     
==========================================
  Files         242      242              
  Lines       24205    24238      +33     
  Branches     1537     1540       +3     
==========================================
+ Hits        18265    18297      +32     
  Misses       5023     5023              
- Partials      917      918       +1     
Files Changed Coverage Δ
source/lmp/compute_deeptensor_atom.cpp 86.84% <83.33%> (+0.35%) ⬆️
source/lmp/pair_deepmd.cpp 54.06% <89.33%> (+0.86%) ⬆️
source/lmp/fix_dplr.cpp 75.18% <93.75%> (+0.81%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz
Copy link
Member

njzjz commented Sep 9, 2023

Interesting!

@Yi-FanLi Yi-FanLi marked this pull request as ready for review September 11, 2023 21:37
@Yi-FanLi Yi-FanLi requested a review from njzjz September 11, 2023 21:37
source/lmp/fix_dplr.cpp Outdated Show resolved Hide resolved
source/lmp/tests/test_dplr.py Outdated Show resolved Hide resolved
@Yi-FanLi Yi-FanLi requested a review from njzjz September 17, 2023 05:02
@Yi-FanLi
Copy link
Collaborator Author

Yi-FanLi commented Sep 17, 2023 via email

@github-actions github-actions bot added the Docs label Sep 17, 2023
Copy link
Member

@njzjz njzjz left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghan-iapcm wanghan-iapcm merged commit 19c6a68 into deepmodeling:devel Sep 18, 2023
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants