GroupTheory`
GroupTheory`
GTTbToFortranList
GTTbToFortranList[Hamiltonian,parameter set,database]
prints a Hamiltonian as FORTRAN code.
Details and Options
- GTTbToFortranList does not prepare a ready made FORTRAN module like GTTbToFortran. It uses the internal command FortranForm to translate the Mathematica code. It produces a print of the Hamiltonian, which can be used by copy and paste to build a FORTRAN program.
- The symbols of the tight-binding parameters are transformed in a list p. Thus, a parameter set from database has to be provided for p, which corresponds to Hamiltonian.
- The following option can be given:
-
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