1 % Calculates the conductance
for specific transverse momentums - based on EQuUs v4.8
2 % Copyright (C) 2016 Peter Rakyta, Ph.D.
4 % This program is free software: you can redistribute it and/or modify
5 % it under the terms of the GNU General Public License as published by
6 % the Free Software Foundation, either version 3 of the License, or
7 % (at your option) any later version.
9 % This program is distributed in the hope that it will be useful,
10 % but WITHOUT ANY WARRANTY; without even the implied warranty of
11 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 % GNU General Public License
for more details.
14 % You should have received a copy of the GNU General Public License
15 % along with
this program. If not, see http:
18 %> @brief Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
21 %> @brief Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
22 %> @
param qvec The transverse momentum number.
23 %> @
param width_uc The width of the unit cell.
24 %> @
param height The length of the junction
25 %> @
param Energy The energy relative to the Fermi level
26 %> @
param EF The Fermi level
29 %> @
param outputXML The absolute path to the output XML
30 %> @
param FiniteGreensFunctionFromHamiltonian Logical value. Set
true to calculate the conductivity
using EQuUs MKL component, or
false to use the fast method (see PRB 90, 125428 (2014)).
31 %> @
return Returns with the calculated conductivity
for the given transverse momentum number.
33 Cq = zeros(size(qvec));
35 for idx = 1:length(qvec)
37 ribbon_hamiltonian =
Ribbon(
'width', width_uc,
'height', height,
'E', Energy,
'EF', EF,
'Opt',
Opt,
'param',
param,
'filenameOut', outputXML,
'q', q,
'silent',
true );
39 [~,~,C_tmp] = ribbon_hamiltonian.Transport( Energy,
'constant_channels',
true,
'gfininvfromHamiltonian', FiniteGreensFunctionFromHamiltonian );
function CalculateTransporSpecq(qvec, width_uc, height, Energy, EF, Opt, param, outputXML, FiniteGreensFunctionFromHamiltonian)
Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
Structure Opt contains the basic computational parameters used in EQuUs.
A class for calculations on a ribbon of finite width for equilibrium calculations mostly in the zero ...
Structure param contains data structures describing the physical parameters of the scattering center ...