displace atoms rotate

Dear Lammps Users and Developers,

I have a cnt in z direction and i want to rotate it to x direction.cnt’s center of mass is located to (0,0,0) point.so according to manual i am writing:

displace_atoms cnt rotate 0 0 0 0 1 0 90 units box

and i am getting Illegal displace_atoms command error.

what am i doing wrong?

Thanks,

Aysun Itai

Dear Lammps Users and Developers,

I have a cnt in z direction and i want to rotate it to x direction.cnt's
center of mass is located to (0,0,0) point.so according to manual i am
writing:

displace_atoms cnt rotate 0 0 0 0 1 0 90 units box

and i am getting Illegal displace_atoms command error.

what am i doing wrong?

first of all, you didn't tell us which version of LAMMPS you are using.

the feature you are asking for was added rather recently to LAMMPS.
http://lammps.sandia.gov/bug2012.html
so chances are that your version of lammps is too old to have this feature.

please *always* keep in mind that the online documentation of
LAMMPS *always* refers to the latest available version.

axel.

Adding that command to bench/in.lj works fine.
So you are probably using an older version of
the code and reading the current doc pages.

Steve

Steve,

Can I add a request?

Due to our HPC setup, we have to download a complete version of LAMMPS in order to upgrade. This means that we have several binaries (identified by date) and documentation. But I cannot readily identify the documentation with a particular version date.

Would it be possible to put a timestamp on the documentation somewhere (eg the front page, where you tell the user that the version is identified by date) so that us dummies can see that the manual refers to a particular release?

Cheers

Nigel.

i wrote few lines of code in fortran for cnt rotation.thanks a lot.

done - at least for the Manual.html doc page. Don't want to
do it in the Manual.pdf, since that would add
a 7 Mb file to every patch.

Steve