Back to main menu

Option: orient

Syntax

-orient <(hkl)X> <(hkl)Y> <(hkl)Z> <(hkl)'X> <(hkl)'Y> <(hkl)'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). Only three-index vectors are supported (assuming a cubic lattice); the 4-index vectors of hexagonal lattices are not 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 simply rotates the whole system, it does not modify it nor find a new unit cell. Creating a unit cell with a given crystal orientation can be done thanks to 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