GROUP THEORY SYMBOL
GTTbToFortran
GTTbToFortran[Hamiltonian,maximal angular momentum,maximum shell number,file name]
transforms a k-space tight-binding Hamiltonian into a FORTRAN module.
DetailsDetails
- GTPack constructs Hamiltonians in an analytic form. Numerical calculations (band structure, density of states) can also be performed. Sometimes it is more efficient to do numerical calculations outside of Mathematica. GTTbToFortran translates the Hamiltonian into a FORTRAN module for further use in other program packages.
- If a parameter set corresponding to the constructed Hamiltonian is available, this set can substitute the maximum angular momentum in the input. The list of symbols will be extracted from the parameter set.
- The command saves time in programming, but the result has to be checked carefully!
- The following options can be given:
-
GOTbBasis 0 Suppresses subscripts within element names GOVerbose False Controls the output of additional information - 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)
In[1]:= |
Set the directory of pre-defined data
In[2]:= |
Read the Hamiltonian for fcc structure and spd basis
In[3]:= |
The maximum angular momentum is l=2 and the maximum shell number is sh=2.
In[5]:= |
Instead of a maximum angular momentum an external parameter set can be used. The parameters are extracted from this parameter set and are not generated internally.