GTLatticeVectors
  • See Also
    • GTBravaisLattice
    • GTCrystalSystem
    • GTCellPlot
    • GTInstallStructure
    • GTPlotCluster
  • Related Guides
    • Crystal Structure
    • See Also
      • GTBravaisLattice
      • GTCrystalSystem
      • GTCellPlot
      • GTInstallStructure
      • GTPlotCluster
    • Related Guides
      • Crystal Structure

GTLatticeVectors[list]

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

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
old version  
new version  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTBravaisLattice
    • GTCrystalSystem
    • GTCellPlot
    • GTInstallStructure
    • GTPlotCluster
  • Related Guides
    • Crystal Structure
    • See Also
      • GTBravaisLattice
      • GTCrystalSystem
      • GTCellPlot
      • GTInstallStructure
      • GTPlotCluster
    • Related Guides
      • Crystal Structure
GroupTheory`
GroupTheory`

GTLatticeVectors

GTLatticeVectors[list]

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

Details and Options

  • This command has changed compared to previous versions of GTPack!
  • In the previous version a list of the form {a,b,c,α,β,γ} was expected as input. If you provide such a list, the old version of the command will be used.
  • Old version:
  • a,b,c are the lengths of the corresponding to 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.
  • New version:
  • The definitions correspond now to AFLOW. The input is now a list containing crystal system and Pearson symbol like {"Cubic","cP"}.
  • See: AFLOW - crystal info on: Encyclopedia of Crystallographic Prototypes
  • See also: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 4.

Examples

Basic Examples  (3)

First, load the package:

Wolfram Language code: Needs["GroupTheory`"]

old version  (1)

Simple orthorhombic lattice

Wolfram Language code: GTLatticeVectors[{a, b, c, π / 2, π / 2, π / 2}]

Hexagonal lattice

Wolfram Language code: GTLatticeVectors[{a, a, c, π / 2, π / 2, 2π / 3}]

new version  (1)

You will get information about possible input

Wolfram Language code: GTLatticeVectors[_]
Wolfram Language code: GTLatticeVectors["Help"]

For the simple orthorhombic lattice we get:

Wolfram Language code: GTLatticeVectors[{"Orthorhombic", "oP"}]

The result corresponds to the old definition. For the hexagonal lattice we get:

Wolfram Language code: GTLatticeVectors[{"Hexagonal", "hP"}]

Thus, the vectors are defined in a different way.

See Also

GTBravaisLattice  GTCrystalSystem  GTCellPlot  GTInstallStructure  GTPlotCluster

Related Guides

    ▪
  • Crystal Structure
Not Found - Wolfram Cloud