Back to main menu

Option: sort

Syntax

-sort <property> <order>

-sort random

Description

This option sorts atoms according to one of their properties.

The parameters for this option are:

If the option is called as "-sort random", then the list of atoms is shuffled in random order.

This option does not transform the system or move atoms. It changes the index of atoms, i.e. the order in which they appear in the final file. For example, after applying this option, the atom #i of chemical symbol Xx at position (x,y,z) and with auxiliary properties of values A1, A2, etc., will still be of the same chemical species, be at the same position, and have the same values of its auxiliary properties, but it will have a different index #j.

Default

By default atoms are not rearranged at all.

Examples

Back to main menu