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

Feature: enable multiple species in LJ #4659

Merged
merged 17 commits into from
Jul 12, 2024
Merged

Conversation

YuLiu98
Copy link
Collaborator

@YuLiu98 YuLiu98 commented Jul 12, 2024

Linked Issue

Fix #4444

Unit Tests and/or Case Tests for my changes

  • A unit test is added for lj_rule.
  • Unit tests for LJ parameters are updated.

What's changed?

  • Now, LJ potentials can be used in multiple atomic species calculations.

@YuLiu98 YuLiu98 requested a review from kirk0830 July 12, 2024 01:15
@kirk0830
Copy link
Collaborator

thanks for your great effort! I will review your code asap.

docs/advanced/input_files/input-main.md Outdated Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Outdated Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Outdated Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Outdated Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Show resolved Hide resolved
source/module_esolver/esolver_lj.cpp Outdated Show resolved Hide resolved
source/module_io/read_input_item_md.cpp Outdated Show resolved Hide resolved
docs/advanced/input_files/input-main.md Outdated Show resolved Hide resolved
@YuLiu98
Copy link
Collaborator Author

YuLiu98 commented Jul 12, 2024

@kirk0830 Hi, I have submitted some more commits already. Can you please review them again?

@kirk0830
Copy link
Collaborator

@kirk0830 Hi, I have submitted some more commits already. Can you please review them again?

sure, I have reviewed your changes, well done. I think I can approve this PR although the function can be furtherly disintegrated but now the maintainability has been better.
Thanks for your effort again, now ABACUS can be stated to have complete functionality of LJ forcefield.

@mohanchen mohanchen merged commit 7dff378 into deepmodeling:develop Jul 12, 2024
13 checks passed
@mohanchen mohanchen added the Features Needed The features are indeed needed, and developers should have sophisticated knowledge label Jul 12, 2024
@YuLiu98 YuLiu98 deleted the lj_pot branch July 13, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Features Needed The features are indeed needed, and developers should have sophisticated knowledge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ABACUS esolver_type lj can only be applied to one element, it would be better to support more elements
3 participants