GTClearStructures

GTClearStructures[database]
removes the content of the global variable spcgrp.

DetailsDetails

  • The global variable spcgrp contains a list of all currently implemented structures. With the help of GTClearStructures spcgrp can be cleaned up.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the package:

In[1]:=
Click for copyable input

Removes all currently installed structures:

In[2]:=
Click for copyable input
Out[2]=

Read a database with a set of standard structures:

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input

Define a new structure and add it tio the database

In[5]:=
Click for copyable input
In[6]:=
Click for copyable input

The diamond structure is already in the database. If we clean up spcgrp we can add the diamond structure to a fresh database.

In[7]:=
Click for copyable input
Out[7]=

Removes all currently installed structures:

In[8]:=
Click for copyable input
In[9]:=
Click for copyable input
Out[9]=
In[10]:=
Click for copyable input

Then new database can be stored :

In[11]:=
Click for copyable input
In[12]:=
Click for copyable input
In[13]:=
Click for copyable input
Out[13]=
In[14]:=
Click for copyable input