GTSaveWyckoff[database]
saves the content of the global variable wyckoff to a database.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
GroupTheory`Wyckoff`
GroupTheory`Wyckoff`
GTSaveWyckoff
GTSaveWyckoff[database]
saves the content of the global variable wyckoff to a database.
Details and Options
- The global variable wyckoff contains a list of all during the actual GTPack session implemented and used Wyckoff positions of a set of space groups. With the help of GTSaveWyckoff the global variable wyckoff can be saved to an external file.
- The database will automatically get the extension ".wyck.
- This command is not explained in:
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
Examples
Basic Examples (1)
Needs["GroupTheory`"]Clear wyckoff.
GTClearWyckoff[]Then install a space group with the corresponding Wyckoff positions:
spc99 = {99, " ", {{0, 0, 0}}, {{1, "a", "4mm", {{0, 0, z}}}, {1, "b", "4mm", {{(1/2), (1/2), z}}}, {2, "c", "2mm.", {{(1/2), 0, z}, {0, (1/2), z}}}, {4, "d", "..m", {{x, x, z}, {-x, -x, z}, {-x, x, z}, {x, -x, z}}}, {4, "e", ".m.", {{x, 0, z}, {-x, 0, z}, {0, x, z}, {0, -x, z}}}, {4, "f", ".m.", {{x, (1/2), z}, {-x, (1/2), z}, {(1/2), x, z}, {(1/2), -x, z}}}, {8, "g", "1", {{x, y, z}, {-x, -y, z}, {-y, x, z}, {y, -x, z}, {x, -y, z}, {-x, y, z}, {-y, -x, z}, {y, x, z}}}}};GTInstallWyckoff[spc99]Using GTSaveWyckoff the installed space groups and Wyckoff positions are saved to an arbitrary file:
SetDirectory[$TemporaryDirectory];GTSaveWyckoff["example_wyckoff"]GTLoadWyckoff["example_wyckoff"]