GTBZMPBPointMesh

GTBZMPBPointMesh[file,k-points,basis]
exports a k-mesh for use in MPB input files. basis is the reciprocal basis used in the MPB calculation.

DetailsDetails

  • It is possible to calculate the density of states by means of GTDensityOfStatesPlot from band structure data calculated with MPB. The corresponding k-mesh is generated by means of GTBZPointMesh. This data set is exported in a form that can be used in the control files of MPB.
  • Be careful with the units of k-points in GTPack and MPB. Note, in GTBZPointMesh the k-points are generated related to Cartesian unit vectors. MPB relates the k-vectors to the reciprocal basis vectors. GTBZMPBPointMesh takes care to recalculate the k-points.
  • 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. Appendix C
  • K. Sakoda, Optical Properties of Photonic Crystals, Springer, Berlin, 2001

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First load the package:

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

Define a set of k-points to get finally the data for a DOS calculation by means of MPB.

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

Export the data. The reciprocal basis of the square lattice is given:

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

In principle it is possible to export also a series of lines. In this case only the k-points itself should be exported. In such a case it is better to use the capabilities of MPB to define the lines.

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