spcgrp
  • See Also
    • GTAllStructures
  • Related Guides
    • Crystal Structure
    • See Also
      • GTAllStructures
    • Related Guides
      • Crystal Structure

spcgrp

is a global variable saving the installed crystal structures.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTAllStructures
  • Related Guides
    • Crystal Structure
    • See Also
      • GTAllStructures
    • Related Guides
      • Crystal Structure
GroupTheory`
GroupTheory`

spcgrp

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)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

Clear all structures in spcgrp

Wolfram Language code: GTClearStructures[]
Wolfram Language code: spcgrp

{}

Install a structure.

Wolfram Language code: GTInstallStructure[{{"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.

Wolfram Language code: spcgrp

This is another way to clear spcgrp .

Wolfram Language code: Unprotect[spcgrp]; spcgrp = {} Protect[spcgrp];

This example shows, how a database is loaded into spcgrp.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; GTLoadStructures["GTPack"];
Wolfram Language code: spcgrp

See Also

GTAllStructures

Related Guides

    ▪
  • Crystal Structure
Not Found - Wolfram Cloud