GTLatticeVectors

GTLatticeVectors[list]
gives the lattice vectors from a list of lattice constants and angles.

DetailsDetails

  • The input list has to be of the form {a,b,c,α,β,γ}.
  • a,b,c are the lengths of the correponding lattice vectors a,b,c. α is the angle between c and b, β is the angle between c and a and finally γ is the angle between a and b.
  • The cartesian components of the lattice vectors are constructed in such a way that a is parallel to the x axis. The vector b lies in the xy plane. If a and b are found c is constructed to enclose the angles α and β with b and a.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 4.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the package:

In[1]:=
Click for copyable input

rhombic lattice

In[2]:=
Click for copyable input
Out[2]=

hexagonal lattice

In[3]:=
Click for copyable input
Out[3]=