order of atom indices

Dear Lammps users,

For different timesteps, “dump” command gives different atoms index orders. For example:

at Timestep 1000, atom indices are:

10

12

13

11

9

And at timestep 2000 those are:

12

10

9

11

13

Is there any way that I can control the ordering of atoms in dump command, for example make it ascending or descending?

Thanks,

Iman.

Dear Lammps users,

For different timesteps, "dump" command gives different atoms index orders.
For example:

at Timestep 1000, atom indices are:

10

12

13

11

9

And at timestep 2000 those are:

12

10

9

11

13

Is there any way that I can control the ordering of atoms in dump command,
for example make it ascending or descending?

have you read the documentation to the dump_modify command?

axel.

Dear Iman,
Please read at if the option in the command can help you. However, if your purpose if to analyze your data using your own scripts, it is always safer, at least to me, to include an if control statement comparing the id’s of both atoms. Then you do not have to worry about sorting id’s. This option might be a little bit slower though. - Fernan On 10/18/2011 11:04 AM, Iman Salehinia wrote: