GTWriteToFile[object,file]
writes object to the file file.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
GroupTheory`
GroupTheory`
GTWriteToFile
GTWriteToFile[object,file]
writes object to the file file.
Details and Options
- The command is used to simplify the storage of information from GTPack on disc.
- The construction of Hamiltonians becomes quite often time-consuming. The Hamiltonians itself are constructed with respect to a special structure, but not with respect to a special material. If the Hamiltonian is stored after construction it can be reused.
- The command can also be used for other tasks.
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
Examples
Basic Examples (1)
Needs["GroupTheory`"]We construct the fcc Hamiltonian :
basis = {{"Cu", 1, {0, 1, 2}}};
shell1 = {{1 / 2, 1 / 2, 0}, {1 / 2, -1 / 2, 0}, {-1 / 2, 1 / 2, 0}, {-1 / 2, -1 / 2, 0}, {1 / 2, 0, 1 / 2}, {1 / 2, 0, -1 / 2}, {-1 / 2, 0, 1 / 2}, {-1 / 2, 0, -1 / 2}, {0, 1 / 2, 1 / 2}, {0, 1 / 2, -1 / 2}, {0, -1 / 2, 1 / 2}, {0, -1 / 2, -1 / 2}};
shell2 = {{0, 0, 1}, {0, 0, -1}, {0, 1, 0}, {0, -1, 0}, {1, 0, 0}, {-1, 0, 0}};
latfcc = {{0, 2, {shell1, shell2}}};
hfcc = GTTbHamiltonian[basis, latfcc];Write the Hamiltonian to the hard disc.
SetDirectory[$TemporaryDirectory];
GTWriteToFile[hfcc, "fcc.ham"]