-
Notifications
You must be signed in to change notification settings - Fork 251
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
Calculate virials and stress with vectors to get atomic virial #528
base: develop
Are you sure you want to change the base?
Conversation
Hi @pobo95, would you please email me at [email protected]? I think we should discuss this PR on a Zoom call. |
@wcwitt Yes of course! I just sent you an email. |
@wcwitt Looked at the PR and it seems great, what do you think? |
Firstly, I would like to express my sincere gratitude for your efforts in improving the code. I have attempted to use the code from the atom_virial branch for training, and subsequently employed pair_mace to integrate it with LAMMPS. However, upon running the Green-Kubo simulation in LAMMPS, I encountered the following error: I am writing to inquire whether this issue might be related to the model I trained still not being able to output the atom virial. Enclosed are my training input files and LAMMPS input files. I look forward to your response. |
@yyhb777 |
@yyhb777
|
@pobo95 |
Hi , thank you @wcwitt, @yyhb777 for the excellent mace code and @pobo95 for the additional to include stresses per atom. Given getting something working with LAMMPS is a little tricky (especially with C++ code, the variation in LAMMPS version, limited python support, etc, etc), it would be useful as a first step to simply get the
I don't want to overwrite pobo95's contribution or confuse things with another pull request but it would be useful to have this functionality in if possible. Please let me know if I can help further getting this included. |
Hi! @edwardsmith999 |
Description
Calculate
virials
andstress
withvectors
instead ofdisplacement
.Motivation and Formula
Motivation
To get atomic virial for NPT simulations and
stress/atom
in LAMMPS .Formula
How Has It Been Tested?
virials
andstress
ouput ofvectors
anddisplacement
are consistent.based on MACE ver.0.3.4
You can use with this code to pair LAMMPS
Reference
Yu, H., Zhong, Y., Ji, J., Gong, X. & Xiang, H. Preprint at https://doi.org/10.26434/chemrxiv-2022-h6f69 (2022).