Why We Need get Force from Edge feature? #66
Replies: 1 comment 3 replies
-
|
Thanks for your interest. You're correct that in our parallel LAMMPS code, sevennet compute force from edges. The reason is that it is much easier to compute and formulate from edge forces, if it is parallel version (using spatial decomposition). You may check our JCTC paper. Edge force is involved into the parallel algorithm. (It is a matter of convenience: formulating, and implementing via edge force is much simpler) Moreover, in PBC, to correctly compute force using autograd, you need to compute relative position vectors considering cell shift (integer times lattice vector) caused by the PBC. It is fine if it is a serial mode. But it becomes complicated if the simulation cell is decomposed for parallelization. In this scenario, computing edge force and postprocessing them is much easier. Let me know if there is another question or the answer is obscure. I think it is really a good question! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In other MLIP models , we can get a energy for the whole structure firstly, and then we get the force as negetive grad about the energy and atoms' positions, which is the same as physical principle. But I notice this model get force from negetive grad about the energy and edge features between atoms. I want to know why we need change the method to get force? I know Allegro uses the same method, is this method significant for parallel?
Beta Was this translation helpful? Give feedback.
All reactions