Problem in Bandstructure of AGNR defect
Dear all,
I make AGNR in Kwant and introduce the defect in both the scattering region and lead.
When plotting the bandstructure of the lead there is a straight line that comes at E=0.
I am confused that there is some error in the code or not. Please help
Thanking You
code-
________________
import kwant
import numpy as np
import matplotlib.pyplot as plt
pi = np.pi
a = 1
d = 1.42;
a1 = d*np.sqrt(3);
lat = kwant.lattice.general(
[[a1, 0], [a1/2, a1*np.sqrt(3)/2]],[[0, 0], [0, a1/np.sqrt(3)]]
)
a,b = lat.sublattices
def set_pub(): # for plotting the figures
plt.rcParams.update({
"font.weight": "bold", # bold fonts
"font.size":18,
#"tick.labelsize": 15, # large tick labels
"lines.linewidth": 2, # thick lines
"lines.color": "k", # black lines
"grid.color": "0.5", # gray gridlines
"grid.linestyle": "-", # solid gridlines
"grid.linewidth": 0.5, # thin gridlines
"xtick.major.size":10,
"xtick.minor.size":5,
"ytick.major.size":10,
"ytick.minor.size":5,
"savefig.dpi": 600, # higher resolution output.
})
def make_sys(w,l):
def rect(pos):
x,y = pos
return -w*a1
participants (2)
-
Abbout Adel
-
sahu.ajit92@gmail.com