GTLatCluster

GTLatCluster[basis vectors,radius]
constructs a spherical cluster of radius with lattice points definded by basis vectors.

DetailsDetails

  • GTLatCluster constructs lattice points in a sphere of radius from basis vectors. The basis vectors can be defined as 3D or 2D vectors. The output is in both cases a list of 3D vectors. GTLatCluster can be used to construct lattices in direct or reciprocal space.
  • The following option can be given:
  • GOVerboseTrueControls the output of additional information
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 12.1

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First load the package:

In[1]:=
Click for copyable input

Define the basis vectors:

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

Set the radius:

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

Construct the cluster:

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

Also two-dimensional clusters can be constructed:

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