generates reciprocal lattice vectors

Syntax

rlVec = rl(obj, {norm})

Description

rlVec = rl(obj, {norm}) returns the lattice vectors of the reciprocal lattice in a matrix, with the , and vectors stored in rows.

Examples

To convert from reciprocal lattice unit to Å ( Cartesian coordinate system) use: (Q_rlu is a row vector with 3 elements):

Q_xyz =  Q_rlu * rlVect

Input Arguments

obj
spinw object.
norm
If true, the basis vectors are normalized to 1. Default values is false, optional.

Output Arguments

rlVec
Stores the three basis vectors in the rows of matrix with dimensions of .

See Also

spinw | spinw.abc | spinw.basisvector