Coordinate systems

SpinW uses four coordinate systems.

Contents

abc coordinate system

This is the lattice coordinate system, every vector, whose components are given in lattice units are in this coordinate system. The three axis are the a, b and c crystal axes. The axis length can be normalized to one or to the lattice parameters. The following [[SwclassEN][sw class]] properties are stored in lattice units:

Also several function takes input or aoutput in lattice units:

xyz coordinate system

Most of the [[SwclassEN][sw class]] properties are stored in the xyz coordinate system. The xyz coordinate system is right-handed Cartesian and fixed to the crystal lattice:

The following properties are in xyz coordinate system:

Also output of different functions are in xyz coordinate system:

reciprocal lattice coordinate system

The reciprocal lattice coordinate system is the dual vector space of the lattice coordinate system. The three axis are the reciprocal lattice vectors denoted by a*, b* and c* LATEXf(x,y)=x^2+y^2PATEX.