correct typo reported on lammps-users

This commit is contained in:
Axel Kohlmeyer 2017-03-21 14:12:00 -04:00
parent dcede304df
commit 734e639c5d
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ x\[2\] = z coord of atom with ID 1
x\[3\] = x coord of atom with ID 2
...
x\[n3-1\] = z coord of atom with ID natoms
lmp.scatter_coords("x",1,3,x) :pre
lmp.scatter_atoms("x",1,3,x) :pre
Alternatively, you can just change values in the vector returned by
gather_atoms("x",1,3), since it is a ctypes vector of doubles.