-
Hello, I'm having some issues with using potential functions for lammps, hope to get some help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi. I solved the problem using ovito-python. For my system it was like that:from ovito.io import import_file pipeline = import_file("POSCAR") #def modify(frame: int, data: DataCollection): types = data.particles_.particle_types_ types.type_by_id_(1).name = "Gd"; types.type_by_id_(1).mass = 157.25 export_file(data, "data", "lammps/data") |
Beta Was this translation helpful? Give feedback.
-
The answer can be found in the documentation: https://docs.deepmodeling.com/projects/deepmd/en/master/third-party/lammps-command.html |
Beta Was this translation helpful? Give feedback.
The answer can be found in the documentation: https://docs.deepmodeling.com/projects/deepmd/en/master/third-party/lammps-command.html
Note that this is a new feature since v2.2.0.