GTSaveStructures
  • See Also
    • GTAllStructures
    • GTExportXSF
    • GTGetStructure
    • GTImportCIF
    • GTInstallStructure
    • GTLoadStructures
    • GTPlotStructure
    • GTClearStructures
  • Related Guides
    • Crystal Structure
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Working with crystal structures
    • See Also
      • GTAllStructures
      • GTExportXSF
      • GTGetStructure
      • GTImportCIF
      • GTInstallStructure
      • GTLoadStructures
      • GTPlotStructure
      • GTClearStructures
    • Related Guides
      • Crystal Structure
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Working with crystal structures

GTSaveStructures[database]

saves the content of the global variable spcgrp to a database.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Tech Notes
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTAllStructures
    • GTExportXSF
    • GTGetStructure
    • GTImportCIF
    • GTInstallStructure
    • GTLoadStructures
    • GTPlotStructure
    • GTClearStructures
  • Related Guides
    • Crystal Structure
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Working with crystal structures
    • See Also
      • GTAllStructures
      • GTExportXSF
      • GTGetStructure
      • GTImportCIF
      • GTInstallStructure
      • GTLoadStructures
      • GTPlotStructure
      • GTClearStructures
    • Related Guides
      • Crystal Structure
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Working with crystal structures
GroupTheory`
GroupTheory`

GTSaveStructures

GTSaveStructures[database]

saves the content of the global variable spcgrp to a database.

Details and Options

  • The global variable spcgrp contains a list of all currently implemented structures. With the help of GTSaveStructures spcgrp can be saved to an external file.
  • The database will automatically get the extension ".struc".
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica

Examples

Basic Examples  (1)

First, load the package:

Wolfram Language code: Needs["GroupTheory`"]

Clear the global variable spcgrp for the test.

Wolfram Language code: GTClearStructures[]

Then install a crystal structure:

Wolfram Language code: diamond = {{"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}};
Wolfram Language code: GTInstallStructure[diamond]

Using GTSaveStructures, the installed crystal structure is saved to an arbitrary file:

Wolfram Language code: SetDirectory[$TemporaryDirectory];
Wolfram Language code: GTSaveStructures["example_spcgrp"]

Read the database for a test.

Wolfram Language code: GTLoadStructures["example_spcgrp"]

See Also

GTAllStructures  GTExportXSF  GTGetStructure  GTImportCIF  GTInstallStructure  GTLoadStructures  GTPlotStructure  GTClearStructures

Tech Notes

    ▪
  • Working with crystal structures

Related Guides

    ▪
  • Crystal Structure
  • ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
Not Found - Wolfram Cloud