GTClearWyckoff[database]
removes the content of the global variable wyckoff.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
GroupTheory`Wyckoff`
GroupTheory`Wyckoff`
GTClearWyckoff
GTClearWyckoff[database]
removes the content of the global variable wyckoff.
Details and Options
- The global variable wyckoff contains a list of all during the current GTPack session implemented Wyckoff positions of space groups. With the help of GTClearWyckoff wyckoff can be cleaned up.
- This command is not explained in:
- W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
Examples
Basic Examples (1)
Needs["GroupTheory`"]Removes all currently installed structures:
GTClearStructures[]Read a database with a set of standard structures:
SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadWyckoff["GTPack"];List all implemented space groups:
GTAllWyckoff[]Define new data and add it to the database
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]
The space group is already in the database. If we clean up wyckoff we can add the #99 to a new database.
GTClearWyckoff[]GTInstallWyckoff[spc99]The new database can be stored :
SetDirectory[$TemporaryDirectory];GTSaveWyckoff["example_wyckoff"]```GTLoadWyckoff["example_wyckoff"]GTAllWyckoff[]