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

Msmeam t1m force error #4089

Closed
wants to merge 379 commits into from
Closed

Conversation

athomps
Copy link
Contributor

@athomps athomps commented Feb 24, 2024

Summary

This fixes an error that was discovered in pair_style meam/ms. Forces were incorrect for elements with non-zero t1m in the MS-MEAM library file.

Related Issue(s)

None

Author(s)

Aidan Thompson, Mike Baskes

Licensing

By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).

Backward Compatibility

The official MS-MEAM examples are not affected, because they have t1m=0. This will only affect previous simulations with non-zero t1m.

Implementation Notes

Simple cut-n-paste from t3m term in force calculation. Also copied to KOKKOS package.

Post Submission Checklist

  • The feature or features in this pull request is complete
  • Licensing information is complete
  • Corresponding author information is complete
  • The source code follows the LAMMPS formatting guidelines
  • Suitable new documentation files and/or updates to the existing docs are included
  • The added/updated documentation is integrated and tested with the documentation build system
  • The feature has been verified to work with the conventional build system
  • The feature has been verified to work with the CMake based build system
  • Suitable tests have been added to the unittest tree.
  • A package specific README file has been included or updated
  • One or more example input decks are included

Further Information, Files, and Links

akohlmey and others added 30 commits June 30, 2022 23:53
@athomps
Copy link
Contributor Author

athomps commented Feb 24, 2024

Apologies for the stale baseline. However, only two files actually changed.

@akohlmey akohlmey mentioned this pull request Feb 24, 2024
8 tasks
@akohlmey
Copy link
Member

Apologies for the stale baseline. However, only two files actually changed.

I've cherry-picked commit 2ef030f into PR #4090 and the excessive redundant history is gone.

This was caused by merging with "stable". This branch has diverged from "develop" and "release" because of backporting of bugfixes and making update releases for the stable branch. Thus you can either contribute to the "maintenance" (which has the development changes for "stable" branch) or "develop" (which has the development changes for "release").

It is probably a good idea at this point to do git checkout develop and then git reset --hard upstream/develop or git branch -D develop and then git checkout develop to reset the state of your develop branch.

@akohlmey
Copy link
Member

@athomps please stop pushing changes to this branch. I have already cherry-picked all your changes and had done the port to KOKKOS (yours is not fully correct and will segfault).

Your second set of changes also changes the forces for the pair style meam/ms unit test and thus the corresponding data needs to be updated. PR #4090 has all these changes.

@athomps
Copy link
Contributor Author

athomps commented Feb 29, 2024

Okay, I will withdraw this PR and submit further updates to PR #4090

@athomps athomps closed this Feb 29, 2024
@athomps
Copy link
Contributor Author

athomps commented Feb 29, 2024

Switching to PR #4090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet