Back to main menu

Option: orient

Syntax

-orient [<hklX>] [<hklY>] [<hklZ>] [<hkl'X>] [<hkl'Y>] [<hkl'Z>]

-orient [<hkilX>] [<hkilY>] [<hkilZ>] [<hkil'X>] [<hkil'Y>] [<hkil'Z>]

Description

This option rotates the system from a given crystallographic orientation into another one.

The vectors for each crystallographic orientation must be given as Miller indices (see how to specify Miller indices). Notations using three-index vectors [hkl] (assuming a cubic lattice), or 4-index vectors [hkil] (hexagonal lattices) are supported by this option.

Note that the final crystallographic directions must form the same angles as the original ones.

This option affects some properties of the system (e.g. the elastic tensor) if they were read with the option -properties before the present option.

Note that this option does not change the cell size nor the number of atoms, it just performs a rigid rotation of the system as a whole (cell and atoms). If you wish to create a unit cell with a given crystal orientation, you may use the mode --create. To find a suitable orthogonal box that is equivalent to the rotated system, you may use the option -orthogonal-cell.

Default

By default the orientation of the system is not changed.

Examples

Back to main menu