Handling of symmetry elements: multiplication, symbols, matrices, etc.

GTPack allows for a symbolic handling of symmetry elements, where e.g. C3z denotes a threefold rotation about the z-axis (120°) or C4x a fourfold rotation about the x-axis (90°). All preinstalled symmetry axes are shown below:

GTgmatperforms a multiplication of two symmetry elements
GTGetMatrixgives a matrix corresponding to a symmetry element.
GTGetSymbolgives the symbol of a symmetry element
GTGetRotationMatrixgives the 3D rotation matrix of a symmetry element
GTGetSU2Matrixgives the SU(2) matrix of a symmetry element
GTGetEulerAnglesgives the Euler angles and the determinant of the 3D rotation matrix of a symmetry element
GTGetQuaterniongives the quaternion of a symmetry element
GTInstallAxisinstalls symmetry elements with respect to a given rotation axis
Such symmetry elements can be multiplied using GTgmat or simply in symbolic form combining the elements with a .
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Internally, matrices are used to handle symmetry elements.The corresponding matrix can be obtained using GTGetMatrix.
In[4]:=
Click for copyable input
Out[4]//MatrixForm=
GTGetMatrix depends on the current standard representation. However, in some cases it might be necessary to obtain the 3D rotation matrix or the corresponding SU(2) matrix. The relevant commands are GTGetRotationMatrix and GTGetSU2Matrix.
In[5]:=
Click for copyable input
Out[5]//MatrixForm=
In[6]:=
Click for copyable input
Out[6]//MatrixForm=
The corresponding symbol of a matrix can be obtained using GTGetSymbol.
In[7]:=
Click for copyable input
Out[7]=
Similarly, symmetry elements can be represented as quaternions or in terms of three Euler Angles and the determinant of the rotation matrix.
In[8]:=
Click for copyable input
Out[8]=
In[9]:=
Click for copyable input
Out[9]=
Besides the preinstalled symmetry axes, which can be checked from the variable axeslist, new symmetry axes can be installed using GTInstallAxis.
In[10]:=
Click for copyable input
In[11]:=
Click for copyable input
Out[11]//MatrixForm=
In[12]:=
Click for copyable input
Out[12]=