Back to main menu

Option: rebox

Syntax

-rebox

Description

This option forces the program to re-calculate the supercell vectors.

BEWARE: this option tries to provide a rectangular bounding box (so the box will NOT be correct for non-rectangular systems), and is very inaccurate. Do not trust it blindly: check the supercell vectors afterwards!

If you know the supercell parameters precisely, you may consider specifying them with the option -properties instead of the present one.

Default

By default Atomsk uses the cell vectors read from the input file. If no cell vectors are found in the input file, then a warning is displayed and the present option is automatically called after reading the file (and before applying any other option). For instance, this is the case with the default XYZ format which does not contain any box vector.

Examples

Back to main menu