GTGetStructure[information]
gives an installed crystal structure from a certain information (e.g. Pearson symbol, Strukturbericht designation, name, index).
Details and Options
Examples
Basic Examples
Options
GOVerbose
See Also
Tech Notes
Related Guides
GroupTheory`
GroupTheory`
GTGetStructure
GTGetStructure[information]
gives an installed crystal structure from a certain information (e.g. Pearson symbol, Strukturbericht designation, name, index).
Details and Options
- Currently available structures are saved within the global variable spcgrp and can be listed by GTAllStructures.
- Structures from external files can be loaded using GTLoadStructures.
- The description of a crystal structure contains the following information: prototype, Pearson symbol, Strukturbericht designation, space group, number, other elements with structure, reference, primitive vectors and basis vectors.
- By specifying one of those information a certain structure can be selected. Multiple output is possible.
- The following option can be given:
-
GOVerbose True Controls the output of additional information - See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter
Examples
open all close allBasic Examples (4)
Needs["GroupTheory`"]Then install a crystal structure:
diamond = {{"C", "Diamond"}, "cF8", "A4", Fd - 3m, 227, {{0, a / 2, a / 2}, {a / 2, 0, a / 2}, {a / 2, a / 2, 0}}, {{{-a / 8, -a / 8, -a / 8}, "C"}, {{a / 8, a / 8, a / 8}, "C"}}, {a -> 355}};GTInstallStructure[diamond]Now a structure can be selected, by means of the structure type.
GTGetStructure["Diamond"]Also the space group symbol can beused to select a structure.
GTGetStructure[Fd - 3m];The index of the structure in the database can also be used as valid input.
GTGetStructure[1]If no relevant structure is found, the calculation will be aborted.
GTGetStructure["false input"]str = GTGetStructure[3]