1
General Questions and Answers / Re: Current segregation and whether higher T(E) guarantee higher current?
« on: May 17, 2016, 20:42 »
Could any one please answer?
Thanks!
Thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
# -------------------------------------------------------------
# Setup adaptive grid object.
# -------------------------------------------------------------
adaptive_grid = AdaptiveGrid(
kA_range=[-0.5, 0.5],
kB_range=[-0.5, 0.5],
tolerance=1e-2,
error_measure=Absolute,
number_of_initial_levels=4,
maximum_number_of_levels=8)
# -------------------------------------------------------------
# Transmission Spectrum
# -------------------------------------------------------------
transmission_spectrum = TransmissionSpectrum(
configuration=configuration,
energies=numpy.linspace(-5,5,501)*eV,
kpoints=adaptive_grid,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
self_energy_calculator=KrylovSelfEnergy(),
)
# -------------------------------------------------------------
# Setup adaptive grid object.
# -------------------------------------------------------------
adaptive_grid = AdaptiveGrid(
kA_range=[-0.5, 0.5],
kB_range=[-0.5, 0.5],
tolerance=1e-2,
error_measure=Absolute,
number_of_initial_levels=4,
maximum_number_of_levels=8)
# -------------------------------------------------------------
# Transmission Spectrum
# -------------------------------------------------------------
transmission_spectrum = TransmissionSpectrum(
configuration=configuration,
kpoints=adaptive_grid,
)
Draw the plot of the planar average of ElectrostaticDifferencePotential and see whether the curve at the vacuum region is flat or not.
If the vacuum thickness is too thin, the curve at the center of vacuum region may not flat. In this case, you have to increase the vacuum thickness.