Replies: 1 comment 4 replies
-
|
deepmd does not generate virial tensor from the DFT force and coord. A DFT codes is supposed to calculated the virial by itself. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear everyone,
I do not understand the theory that selecting the virial prefactor for the loss function in DeepMD-kit generates a virial tensor and calculates the virial loss function without virial.npy.
The interatomic force F_ij is needed to calculate the virial tensor. How can this be calculated from F_i, E, and R_i? Is it possible with the formulas in the paper?
I tried "find |grep " to search for a code to calculate the virial tensor from the force (F_i) and the coordinates (coord), but I could not find it, so I would like to know where to find the corresponding code.
Sorry for my lack of study.
Beta Was this translation helpful? Give feedback.
All reactions