GTTbToFortranList
  • See Also
    • GTTbToFortran
  • Related Guides
    • The Mathematica Group Theory Package GTPack, V 1.4
    • Tight Binding
    • See Also
      • GTTbToFortran
    • Related Guides
      • The Mathematica Group Theory Package GTPack, V 1.4
      • Tight Binding

GTTbToFortranList[Hamiltonian,parameter set,database]

prints a Hamiltonian as FORTRAN code.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
GOVerbose  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTTbToFortran
  • Related Guides
    • The Mathematica Group Theory Package GTPack, V 1.4
    • Tight Binding
    • See Also
      • GTTbToFortran
    • Related Guides
      • The Mathematica Group Theory Package GTPack, V 1.4
      • Tight Binding
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 FalseControls the output of additional information
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica

Examples

open all close all

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

Set the directory of predefined data.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];

Read the Hamiltonian for fcc structure and spd basis.

Wolfram Language code: hfcc = GTReadFromFile["fcc_spd.ham"];
Wolfram Language code: GTTbToFortranList[hfcc, "Cu", "TB_parametersets/TB_Handbook"];

Options  (1)

GOVerbose  (1)

In case of GOVerboseTrue the correspondence of the two-center parameters to the list p is printed additionally.

Wolfram Language code: GTTbToFortranList[hfcc, "Cu", "TB_parametersets/TB_Handbook", GOVerbose -> True]

See Also

GTTbToFortran

Related Guides

    ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
  • ▪
  • Tight Binding
Not Found - Wolfram Cloud