GTDensityOfStatesRS
  • See Also
    • GTDensityOfStates
    • GTDensityOfStatesPlot
    • GTPartialDOS
    • GTFindStateNumbers
    • GTPlotStateWeights
    • GTTbHamiltonianRS
    • GTTbRealSpaceMatrix
    • GTBandsDOSPlot
  • Related Guides
    • Electronic Structure
    • See Also
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPartialDOS
      • GTFindStateNumbers
      • GTPlotStateWeights
      • GTTbHamiltonianRS
      • GTTbRealSpaceMatrix
      • GTBandsDOSPlot
    • Related Guides
      • Electronic Structure
GTDensityOfStatesRS[Hamiltonian, parameters] is used to calculate the density of states of a Hamiltonian in real space.
Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
GaAs - real space vs k-space  
DOS from a list of eigenvalues  
Options  
GOStore  
GOPlotDos  
Integrated DOS ("IDOS")  
DOS and integrated DOS ("ALL")  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTDensityOfStates
    • GTDensityOfStatesPlot
    • GTPartialDOS
    • GTFindStateNumbers
    • GTPlotStateWeights
    • GTTbHamiltonianRS
    • GTTbRealSpaceMatrix
    • GTBandsDOSPlot
  • Related Guides
    • Electronic Structure
    • See Also
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPartialDOS
      • GTFindStateNumbers
      • GTPlotStateWeights
      • GTTbHamiltonianRS
      • GTTbRealSpaceMatrix
      • GTBandsDOSPlot
    • Related Guides
      • Electronic Structure

GTDensityOfStatesRS

GTDensityOfStatesRS[Hamiltonian, parameters] is used to calculate the density of states of a Hamiltonian in real space.

Details and Options

  • For a real space NxN Hamiltonian matrix, the density of states is computed by a sum of Gaussians (width σ) located at the N eigenvalues.
  • Alternatively, a list of N eigenvalues can be provided. This becomes relevant, e.g., when using external libraries to diagonalize a Hamiltonian. For example, a Hamiltonian can be constructed using GTTbHamiltonianRS and exported to FORTRAN using GTTbRSToFortran. Then, the eigenvalues can be calculated using numerical libraries.
  • The vector parameters contains the following quantities:
  • parameters = {nbas, nat, emin, emax, ne, σ, scale}
  • nbasnumber of atoms in the basis
    natnumber of atoms in the cluster
    [emin,emax]energy intervall for calculation of density of states
    nenumber of energy points used to calculate the density of states
    σwidth of the Gaussians (if σ = 0 the energy step width is used)
    scaleThe DOS can be scaled by the factor scale. This is sometimes helpful for comparisons.
  • The following options can be given:
  • GOStore 0is an option which controls the output of data to files.
    PlotRangeAllis an option for graphics functions that specifies what range of coordinates to include in a plot.
    FrameLabel{Energy, DOS}is an option for Graphics, Manipulate, and related functions that specifies labels to be placed on the edges of a frame.
    GOFermiEnergy-100000is an option to decide if the Fermi energy is calculated after the calculation of the denstiy of states (DOS).
    PlotLabel"Density of States"is an option for graphics functions that specifies an overall label for a plot.
    PlotStyleRGBColor[1, 0, 0]is an option for plotting and related functions that specifies styles in which objects are to be drawn.
    GOPlotDos "DOS"is an option to decide if the density of states, the integrated density of states or partial densities of states, or all will be presented.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 9.7.3.

Examples

open all close all
Wolfram Language code: Needs["GroupTheory`"]

Basic Examples  (2)

GaAs - real space vs k-space  (1)

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

The k-space Hamiltonian is loaded from a file. It was constructed using a sp^3s^* basis.

Wolfram Language code: phGaAs = GTReadFromFile["GaAs.ham"];

The density of states in k-space:

Wolfram Language code: dosp = {5, 1, -14, 14, 601, 0.1, 1};kdos = GTDensityOfStates[phGaAs, "fcc", dosp, PlotLabel -> "Density of states GaAs", FrameLabel -> {" ", "DOS (states/Ryd)"}]

The real-space Hamiltonian has the dimension 7090x7090 and is constructed from a cluster of 709 Ga and 709 As atoms.

Wolfram Language code: phGaAsr = GTReadFromFile["GaAs_1418.ham"];

The density of states:

Wolfram Language code: dosp = {2, 1418, -15, 15, 601, 0.05, 1};rdos = GTDensityOfStatesRS[phGaAsr, dosp]

The comparison of both DOS calculations shows, that surface states appear in the band gap in the real space calculation.

Wolfram Language code: Show[kdos, rdos]

DOS from a list of eigenvalues  (1)

Wolfram Language code: ew = Eigenvalues[phGaAsr];
Wolfram Language code: dosp = {2, 1418, -15, 15, 601, 0.05, 1};rdos1 = GTDensityOfStatesRS[ew, dosp, PlotStyle -> LightBlue];
Wolfram Language code: Show[rdos1, rdos]

Options  (4)

FrameLabel, PlotLabel, PlotRange, and PlotStyle are Mathematica options used in GTDensityOfStatesRS and will be not discussed here.

GOStore  (1)

Store results to file

Wolfram Language code: SetDirectory[$TemporaryDirectory];dosp = {2, 1418, -15, 15, 601, 0.05, 1};rdos = GTDensityOfStatesRS[phGaAsr, dosp, PlotLabel -> "real space DOS GaAS", GOStore -> "GaAs_DOS-rspace.dat"]

GOPlotDos  (2)

Integrated DOS ("IDOS")  (1)

Wolfram Language code: dosp = {2, 1418, -15, 15, 601, 0.05, 1};rdos = GTDensityOfStatesRS[phGaAsr, dosp, GOPlotDos -> "IDOS", PlotLabel -> "integrated DOS of GaAs"]

DOS and integrated DOS ("ALL")  (1)

Wolfram Language code: dosp = {2, 1418, -15, 15, 601, 0.05, 1};rdos = GTDensityOfStatesRS[phGaAsr, dosp, GOPlotDos -> "ALL", PlotStyle -> {Black, Blue}, FrameLabel -> {{"DOS", "IDOS"}, {"Energy", " "}}]

The package TwoAxisListPlot.m of Mike Honeychurch is used for the case ALL (see: http://library.wolfram.com/infocenter/MathSource/7507)

See Also

GTDensityOfStates  GTDensityOfStatesPlot  GTPartialDOS  GTFindStateNumbers  GTPlotStateWeights  GTTbHamiltonianRS  GTTbRealSpaceMatrix  GTBandsDOSPlot

Related Guides

    ▪
  • Electronic Structure
Not Found - Wolfram Cloud