GTPlotStructure2D
  • See Also
    • GTClusterManipulate
    • GTPlotCluster
    • GTPlotStructure
  • Related Guides
    • Crystal Structure
    • See Also
      • GTClusterManipulate
      • GTPlotCluster
      • GTPlotStructure
    • Related Guides
      • Crystal Structure

GTPlotStructure2D[struc,rc]

plots a 2D structure defined by the structure file struc inside a radius rc.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
GOBonds  
GOLattice  
GOTbEquivalence  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTClusterManipulate
    • GTPlotCluster
    • GTPlotStructure
  • Related Guides
    • Crystal Structure
    • See Also
      • GTClusterManipulate
      • GTPlotCluster
      • GTPlotStructure
    • Related Guides
      • Crystal Structure
GroupTheory`
GroupTheory`

GTPlotStructure2D

GTPlotStructure2D[struc,rc]

plots a 2D structure defined by the structure file struc inside a radius rc.

Details and Options

  • In 3 dimensions the structure is usually presented in ball and stick form. If the structure is pure two-dimensional GTPlotStructure2D gives a better representation.
  • struc is a list with structural information, as used in the structure databases of GTPack.
  • rc is the cutoff radius for the cluster to be presented.
  • The following options can be given:
  • FrameFalse
  • Option of ListPlot
  • GOBonds TruePlots bonds between atoms
    GOLattice {}Scales the lattice constant
    GOTbEquivalence TrueDecides whether equivalent atomes should be renamed
    PlotLabel{" "}Option of ListPlot
    PlotStyleAutomatic
  • Option of ListPlot
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 9.4

Examples

open all close all

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]
Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];

A structure file defines the honeycomb lattice for graphene. To distinguish the two atoms in the basis names C1 and C2 are used.

Wolfram Language code: hcp = {{"C", "Honeycomb"}, "nn", "nn", "nn", 225, {{Sqrt[3]a, 0, 0}, {Sqrt[3]a / 2, 3a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C1"}, {{0, -a, 0}, "C2"}}, {a -> 240}};
Wolfram Language code: GTPlotStructure2D[hcp, 5, GOLattice -> {a -> 1}, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]

Options  (5)

PlotLabel, PlotStyle, and Frame are standard Mathematica options and will not be discussed here.

GOBonds  (1)

The cluster is plotted without bonds

Wolfram Language code: GTPlotStructure2D[hcp, 5, GOLattice -> {a -> 1}, GOBonds -> False, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]

GOLattice  (1)

This scales the lattice constant accordingly.

Wolfram Language code: GTPlotStructure2D[hcp, 5, GOLattice -> {a -> 1 / 2}, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]

GOTbEquivalence  (2)

In the following structure file for carbon the two atoms in the basis are the same.

Wolfram Language code: hcp2 = {{"C", "Honeycomb"}, "nn", "nn", "nn", 225, {{Sqrt[3]a, 0, 0}, {Sqrt[3]a / 2, 3a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C"}, {{0, -a, 0}, "C"}}, {a -> 240}};

If GOTbEquivalenceTrue, the two types of carbon atoms are not distinguished.

Wolfram Language code: GTPlotStructure2D[hcp2, 5, GOLattice -> {a -> 1 / 2}, GOTbEquivalence -> True, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]

If GOTbEquivalenceFalse, the two types of carbon atoms are automatically distinguished.

Wolfram Language code: GTPlotStructure2D[hcp2, 5, GOLattice -> {a -> 1 / 2}, GOTbEquivalence -> False, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]

See Also

GTClusterManipulate  GTPlotCluster  GTPlotStructure

Related Guides

    ▪
  • Crystal Structure
Not Found - Wolfram Cloud