forked from lijiext/lammps
correct typo reported on lammps-users
This commit is contained in:
parent
dcede304df
commit
734e639c5d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue