-
Hi, I am currently running a system containing water molecules and 2 Ruthenium atoms. The total system contains 193 atoms.
This is what my input file looks like:
However, when I run this I get the warning message: Thanks in advance, Jim Boelrijk |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
deepmd-kit assumes the origin of the simulation box is (0, 0, 0). For a cubic box, it is [0, L] x [0, L] x [0, L]. Of course, the box is not restricted to cubic and can be triclinic. If the positions of atoms are not in the simulation region, then the periodic boundary condition is applied and the atoms are wrapped back into the region by trying to +L or -L to the coordinates. However, this is tried only once, and if the atoms are too far away from the simulation region, the wrapping fails and the warning will be triggered. It is recommended that when preparing the data, all the coordinates of atoms are corrected wrapped to the simulation box with the origin (0, 0, 0). Please let me know if it fixes the warning. |
Beta Was this translation helpful? Give feedback.
-
I followed up your advice of wrapping the data to the origin (0,0,0) and the error is gone. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a similar warning: loc idx out of upper bound, and I have already wrapped the coordinations. I also check coord.npy files. There is no number larger than L or less than 0. But this warning still occurs. |
Beta Was this translation helpful? Give feedback.
deepmd-kit assumes the origin of the simulation box is (0, 0, 0). For a cubic box, it is [0, L] x [0, L] x [0, L]. Of course, the box is not restricted to cubic and can be triclinic.
If the positions of atoms are not in the simulation region, then the periodic boundary condition is applied and the atoms are wrapped back into the region by trying to +L or -L to the coordinates. However, this is tried only once, and if the atoms are too far away from the simulation region, the wrapping fails and the warning will be triggered.
It is recommended that when preparing the data, all the coordinates of atoms are corrected wrapped to the simulation box with the origin (0, 0, 0).
Please let me know …