Back to main menu

Option: reduce-cell

Syntax

-reduce-cell <x|y|z|p>

Description

This option reduces the system into a shorter cell, while maintaining the periodicity.

This option searches for pairs of equivalent atoms. If the vector joining two equivalent atoms is parallel to and shorter than an initial cell vector, then it replaces it. The box may be shortened in one, two, or in all three directions. Then, atoms that are out of the new box are removed, along with their shells and auxiliary properties if they had any.

This option preserves the crystal orientation, it just attempts to shorten the cell vectors when it is possible. The resulting final cell should be the shortest for this crystal orientation.

If this option is called with the parameter "x", "y", or "z", then the cell size is reduced only along that direction. In the absence of parameter the cell size is reduced in all dimensions.

If this option is called with the parameter "p", then Atomsk will attempt to find the primitive cell, i.e. the smallest vectors that respect the periodicity of the lattice. Note that in this case, the final box vectors may not be aligned with the initial ones.

If the system is rotated and you wish to obtain an orthorhombic unit cell, then use the option -orthogonal-cell before this one.

Note that this option is meant for use with perfect crystals. It cannot be expected to give good results in crystals containing defects, nor on non-crystalline or disordered systems. Also, Atomsk will attempt to reduce the cell size, but if it does not find suitable shorter vectors, then the cell will remain the same.

Default

By default Atomsk does not reduce cell vectors.

Examples

Back to main menu