This is an old revision of the document!


CalculateG

Function CalculateG(HTB, Options) calculates single-particle Green's function from a given Tight-Binding Object HTB, which can be created using the function NewTightBinding().

Input

  • HTB : Tight-binding object
  • Options : A table of options. Possible options are:
    • “Emin” : Real, minimum value of the energy. Default value is -10
    • “Emax” : Real, maximum value of the energy. Default value is 10
    • “NE” : Positive Integer defining number of grid points on the energy axis. Default value is 2000
    • “Nk” : Table of 3 integers {Nkx,Nky,Nkz}. Number of k-points along x,y,z directions. Default value {40,40,40}
    • “Type” : String, The type of output Green's function (see ResponseFunction.ChangeType()). Default value is “ListOfPoles”

Output

  • G : Response Function object of the form $\{\{A_0, a_1, a_2,\dots,a_n\},\{ B_1,B_2, \dots, B_n \}, $ type=“ListOfPoles” $\dots \}$

Example

description text

Input

Example.Quanty
-- some example code

Result

text produced as output

Table of contents

Print/export