9726
9804
\end{description}
9728
\subsection{Utilities for analysis: \texorpdfstring{\tbtrans}{TBtrans}}
9806
\subsection{Utilities for analysis:
9807
\texorpdfstring{\tbtrans}{TBtrans}}
9729
9808
\index{tbtrans@\textbf{tbtrans}}
9731
The \texttt{tbtrans} code can be found in the directory \program{Util/TBTrans}.
9733
A much optimized version of \texttt{tbtrans} is found in the directory
9734
\texttt{Util/TBTtrans\_rep} which is recommended to be used. Only in this version can the
9735
repetition be used. It has been completely rewritten to be as fast as possible as well as
9736
keeping the maintenance to a minimum. This version has been completely rewritten by Nick
9737
Papior Andersen (referred to by NPA in the following).
9739
It is used in order to obtain, in a post-processing
9740
way, the transport properties after a \tsiesta\ run. It was
9741
developed by M. Brandbyge. It has been made to conform
9742
with the modifications introduced in \tsiesta\ in late October 2012.
9744
In order to run it, it requires the electrode's \sysfile{TSHS} files
9745
(may be just one file if the left and right electrodes are equal),
9747
scattering region's \sysfile{TSHS} file. These are generated as explained
9748
above. The location of these files are specified by the (already
9749
discussed) \textbf{TS.HSFileLeft}, \textbf{TS.HSFileRight} input options,
9755
\item [\textbf{TS.TBT.HSFile}](\textit{string}): Scattering region \sysfile{TSHS} file.
9756
\index{TS.HSFileLeft@\textbf{TS.HSFileLeft}}
9758
\textit{Default value:} \texttt{\textit{SystemLabel}.TSHS}
9760
respectively for the left and right electrodes and the scattering
9761
region \sysfile{TSHS} file.
9763
The energy scale in \texttt{tbtrans} is shifted so that the Fermi level
9764
of the system, if no voltage were applied, is zero. When computing the
9765
transmission function of a zero bias calculation, the transmission at
9766
the Fermi level is then given by $T(E=0)$. When there is a finite bias,
9767
the Fermi energy of the left electrode is placed at $V/2$, and that of
9768
the right electrode at $-V/2$.
9770
The voltage is specified by \textbf{TS.Voltage}. The energy window and
9771
number of points for the computation of the transmission function is
9777
\item [\textbf{TBT\_kgrid\_Monkhorst\_Pack}] \index{TBT\_kgrid\_Monkhorst\_Pack@\textbf{TBT\_kgrid\_Monkhorst\_Pack}}
9778
\index{kgrid\_Monkhorst\_Pack@\textbf{kgrid\_Monkhorst\_Pack}}
9779
(\textit{block}): Block equivalent
9780
to \textbf{kgrid\_Monkhorst\_Pack}, however, this is used to have a separate
9781
k-sampling in the tbtrans utility. If it does not exist it will use
9782
\textbf{kgrid\_Monkhorst\_Pack}.
9784
\textbf{Notice}: \textbf{TBT\_kgrid\_Monkhorst\_Pack} can only be used with the version
9787
\textit{Default value:} \textbf{kgrid\_Monkhorst\_Pack}
9789
\item [\textbf{TS.TBT.Emin}](\textit{physical}): Lowest energy value of the
9790
computed transmission function. \index{TS.TBT.Emin@\textbf{TS.TBT.Emin}}
9792
\textit{Default value:} \texttt{-2.0 eV}
9794
\item [\textbf{TS.TBT.Emax}](\textit{physical}): Highest energy value of the
9795
computed transmission function. \index{TS.TBT.Emax@\textbf{TS.TBT.Emax}}
9797
\textit{Default value:} \texttt{2.0 eV}
9799
\item [\textbf{TS.TBT.NPoints}](\textit{integer}): Number of energy points
9800
of the transmission function between \textbf{TS.TBT.Emin} and \textbf{TS.TBT.Emax}. \index{TS.TBT.NPoints@\textbf{TS.TBT.NPoints}}
9802
\textit{Default value:} \texttt{100}
9804
\item [\textbf{TS.TBT.CalcElectrodeValenceBandBottom}](\textit{logical}):
9805
If true will calculate the valence band bottom of the electrode.
9807
\textbf{Notice}: Can only be used with the NPA version.
9809
\textit{Default value:} \texttt{true}
9811
\item [\textbf{TS.TBT.COOP}](\textit{logical}): Calculate the COOP on the PDOS region.
9814
\item \sysfile{COOP}
9815
\item \sysfile{COOPL}
9816
\item \sysfile{COOPR}
9819
\textbf{Notice}: Can only be used with the NPA version.
9821
\textit{Default value:} \texttt{false}
9823
\item [\textbf{TS.TBT.AtomPDOS}](\textit{logical}): Calculate the \emph{onsite} projected
9824
density of states in the PDOS region. Creates the files:
9826
\item \sysfile{TOTDOS}
9827
\item \sysfile{ORBDOS}
9830
Notice, that this will not sum up to PDOS in \file{.TRANS}, as this is onsite density of
9833
\textbf{Notice}: Can only be used with the NPA version.
9835
\textit{Default value:} \texttt{false}
9837
Note that it is important to specify the voltage, since this
9838
information is not stored in the \file{.TSHS} files. The current will be
9839
computed using the resulting transmission function, so be sure to make
9840
it suited for the integration in the bias window (the energy window
9841
defined by \textbf{TS.TBT.Emin} and \textbf{TS.TBT.Emax} being bigger than
9842
or equal to the applied bias).
9844
The k-point sampling is defined by the \textbf{TBT\_kgrid\_Monkhorst\_Pack}
9845
block, and if that is non-existing it will use the
9846
\textbf{kgrid\_Monkhorst\_Pack} block. The averaged (over $k$-points)
9847
transmission function is printed in the file \sysfile{AVTRANS}.
9849
An additional options is:
9851
\item [\textbf{TS.TBT.NEigen}](\textit{integer}): Number of eigenvalues of the transmission
9852
matrix to be computed. If larger than 0 \file{.TEIG} and \file{.AVTEIG} will be created
9853
which holds the $k$-point eigenchannels and the averaged eigenchannels,
9854
respectively. \index{TS.TBT.NEigen@\textbf{TS.TBT.NEigen}}
9856
\textit{Default value:} \texttt{0}
9860
To summarize, here we give a list of the parameters read by \tbtrans\
9861
from the input file (the fdf flags, NPA indicates the version
9862
created by Nick Papior Andersen):
9864
\item \textbf{ElectronicTemperature}
9865
\item \textbf{TS.Voltage}
9866
\item \textbf{TS.TBT.ReUseGF} (NPA)
9867
\item \textbf{TS.UseBulkInElectrodes} (NPA)
9868
\item \textbf{TBT\_kgrid\_Monkhorst\_Pack} (block) has precedence of
9869
\textbf{kgrid\_Monkhorst\_Pack} (NPA)
9870
\item \textbf{kgrid\_Monkhorst\_Pack} (block)
9871
\item \textbf{TS.HSFileLeft}
9872
\item \textbf{TS.HSFileRight}
9873
\item \textbf{TS.TBT.HSFile}
9874
\item \textbf{TS.TBT.Emin}
9875
\item \textbf{TS.TBT.Emax}
9876
\item \textbf{TS.TBT.NPoints}
9877
\item \textbf{TS.TBT.NEigen}
9878
\item \textbf{TS.TBT.CalcIEig}
9879
\item \textbf{TS.TBT.PDOSFrom}
9880
\item \textbf{TS.TBT.PDOSTo}
9881
\item \textbf{TS.TBT.COOP} (NPA)
9882
\item \textbf{TS.TBT.AtomPDOS} (NPA)
9883
\item \textbf{TS.TBT.CalcElectrodeValenceBandBottom} (NPA)
9884
\item \textbf{TS.BufferAtomsLeft}, \textbf{TS.BufferAtomsRight}
9885
\item \textbf{TS.NumUsedAtomsLeft}, \textbf{TS.NumUsedAtomsRight}
9886
\item \textbf{TS.ReplicateA1Left}, \textbf{TS.ReplicateA2Left} (NPA)
9887
\item \textbf{TS.ReplicateA1Right}, \textbf{TS.ReplicateA2Right} (NPA)
9888
\item \textbf{SpinPolarized}
9891
\subsubsection{Output}
9893
\texttt{tbtrans} generates several output files. The output files are
9894
named \texttt{<SystemLabel>.\emph{ext}}, defined using the SystemLabel
9895
FDF command, and .\emph{ext} depends on the type of the output.
9901
\item[\sysfile{TRANS}]: The transmission for each $k$ point,
9902
as well as the total density of states in the scattering region and the projected
9903
density of states for all orbitals in the region specified by \fdf{TS.TBT.PDOSFrom}
9904
and \fdf{TS.TBT.PDOSTo}.
9906
\item[\sysfile{AVTRANS}]: The $k$ point averaged
9907
transmission and density of states according to \file{.TRANS}.
9909
\item[\sysfile{LDOS}]: The $k$ point averaged and energy weighted density of states of
9912
\item[\sysfile{RDOS}]: The $k$ point averaged and energy weighted density of states of
9913
the right electrode.
9917
\subsubsection{Compiling \texorpdfstring{\tbtrans}{TBtrans}}
9919
In the \texttt{Util/TBTrans} or \texttt{Util/TBTrans\_rep} (for the NPA version)
9921
simply type \texttt{make} if your main \siesta\ compilation
9922
directory is the top \texttt{Obj} directory. If you have used another
9923
object directory \texttt{MyObjDir}, type \texttt{make OBJDIR=MyObjDir}.
9810
Please see the separate \tbtrans\ manual.
9925
9812
\section{ANALYSIS TOOLS}