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

Calculate virials and stress with vectors to get atomic virial #528

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

pobo95
Copy link

@pobo95 pobo95 commented Jul 21, 2024

Description

Calculate virials and stress with vectors instead of displacement .

Motivation and Formula

Motivation
To get atomic virial for NPT simulations and stress/atom in LAMMPS .

Formula

image

image

How Has It Been Tested?

virials and stress ouput of vectors and displacement are consistent.

image

image

based on MACE ver.0.3.4
You can use with this code to pair LAMMPS

@wcwitt
Copy link
Collaborator

wcwitt commented Jul 23, 2024

Hi @pobo95, would you please email me at [email protected]? I think we should discuss this PR on a Zoom call.

@pobo95
Copy link
Author

pobo95 commented Jul 24, 2024

@wcwitt Yes of course! I just sent you an email.

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.

2 participants