is a global variable saving the installed crystal structures.
Details and Options
Examples
Basic Examples
See Also
Related Guides
GroupTheory`
GroupTheory`
spcgrp
is a global variable saving the installed crystal structures.
Details and Options
- New crystal structures can be added using GTInstallStructure.
- Crystal structures can be saved using GTSaveStructures.
- Crystal structures can be loaded using GTLoadStructures.
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
Examples
Basic Examples (2)
Needs["GroupTheory`"]Clear all structures in spcgrp
GTClearStructures[]spcgrpGTInstallStructure[{{"C", "Diamond"}, "cF8", "A4", "Fd3m", 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}}]The global variable contains the space group.
spcgrpThis is another way to clear spcgrp .
Unprotect[spcgrp];
spcgrp = {}
Protect[spcgrp];This example shows, how a database is loaded into spcgrp.
SetDirectory[NotebookDirectory[] <> "datasets"];
GTLoadStructures["GTPack"];spcgrp