A class to handle the Hamiltonian of the central region in Keldysh formalism.
More...
A class to handle the Hamiltonian of the central region in Keldysh formalism.
EQuUs v4.9 or later
Definition at line 26 of file CreateHamiltonians_Keldysh.m.
◆ CreateHamiltonians_Keldysh()
Constructor of the class.
- Parameters
-
Opt | An instance of the structure Opt. |
param | An instance of structure param. |
varargin | Cell array of optional parameters. For details see InputParsing. |
- Returns
- An instance of the class
◆ ApplyOverlapMatrices()
function CreateHamiltonians::ApplyOverlapMatrices |
( |
E |
| ) |
|
|
inherited |
Applies the overlap matrices to the Hamiltonians: K = H-ES.
- Parameters
-
◆ BadInputType()
static function Messages::BadInputType |
( |
variable |
, |
|
|
type |
|
|
) |
| |
|
staticinherited |
Throws a "bad input type" warning, with using the default value.
- Parameters
-
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
◆ BadInputTypeNoDefault()
static function Messages::BadInputTypeNoDefault |
( |
variable |
, |
|
|
type |
|
|
) |
| |
|
staticinherited |
Throws a "bad input type" warning without setting it to default.
- Parameters
-
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
◆ Clear()
function CreateHamiltonians::Clear |
( |
MemberName |
| ) |
|
|
inherited |
Clears the value of an attribute in the class.
- Parameters
-
MemberName | The name of the attribute to be cleared. |
◆ CreateClone()
Creates a clone of the present class.
- Parameters
-
- Returns
- Returns with the cloned object.
◆ CreateScatterH()
Creates a Hamiltonian of a rectangle shaped area.
The created Hamiltonian and coordinates are stored within the object.
- Parameters
-
varargin | Cell array of optional parameters: |
'Scatter_UC' | An instance of class CreateLeadHamiltonians or its subclass |
'CustomHamiltonian' | An instance of class Custom_Hamiltonians for external Hamiltonian source. |
◆ display()
function Messages::display |
( |
message |
, |
|
|
nosilent |
|
|
) |
| |
|
inherited |
Displays output messages on the screen.
- Parameters
-
message | String containing the message to be displayed |
nosilent | Set true to override the silent option given in Opt.Silent. |
◆ ExceedIteration()
static function Messages::ExceedIteration |
( |
| ) |
|
|
staticinherited |
Throws an "iteration exceeded" warning.
◆ getOpt()
Retrives the structure containing the calculation parameters.
- Returns
- Return an instance of structure Opt.
◆ loadScatter()
function CreateHamiltonians::loadScatter |
( |
filename |
| ) |
|
|
inherited |
Loads the Hamiltonian and other data of the scattering region from a file.
- Parameters
-
filename | The string containing the path to the file. (In octave use absolute paths only) |
◆ projectHamiltonian2Spin()
function CreateHamiltonians::projectHamiltonian2Spin |
( |
s |
| ) |
|
|
inherited |
Projects the Hamiltonian to a spin states of $s=\pm1$.
- Parameters
-
s | The quantum index of the spin (\pm1) |
◆ Read()
function CreateHamiltonians::Read |
( |
MemberName |
| ) |
|
|
inherited |
Query for the value of an attribute in the class.
- Parameters
-
MemberName | The name of the attribute to be set. |
- Returns
- Returns with the value of the attribute.
◆ RemoveSites()
function CreateHamiltonians::RemoveSites |
( |
indexes |
| ) |
|
|
inherited |
Removes specific sites from the model of the scattering region.
For example see function ScatterPotQD.
- Parameters
-
indexes | Logical array. Sites with true values will be removed from the system. |
◆ Reset()
Resets all elements in the class.
◆ saveScatter()
function CreateHamiltonians::saveScatter |
( |
filename |
| ) |
|
|
inherited |
Saves the Hamiltonian and other data of the scattering region.
- Parameters
-
filename | The string containing the path to the file. (In octave use absolute paths only) |
◆ shiftFermiEnergy()
function CreateHamiltonians::shiftFermiEnergy |
( |
Energy |
| ) |
|
|
inherited |
Shifts the on-site energies in the Scattering region by a given energy.
- Parameters
-
Energy | The energy value to be used. |
◆ Write()
function CreateHamiltonians::Write |
( |
MemberName |
, |
|
|
input |
|
|
) |
| |
|
inherited |
Sets the value of an attribute in the class.
- Parameters
-
MemberName | The name of the attribute to be set. |
input | The value to be set. |
◆ coordinates
Property CreateHamiltonians::coordinates |
|
protectedinherited |
◆ fazis_mtx_scatter
Property CreateHamiltonians::fazis_mtx_scatter |
|
protectedinherited |
◆ fazis_mtx_scatter_t
Property CreateHamiltonians::fazis_mtx_scatter_t |
|
protectedinherited |
◆ GaugeTransformationApplied
Property CreateHamiltonians::GaugeTransformationApplied |
|
protectedinherited |
A logical value. True if a gauge transformation was applied on the Hamiltonians, or false otherwise.
Definition at line 85 of file CreateHamiltonians.m.
◆ HamiltoniansCreated
Property CreateHamiltonians::HamiltoniansCreated |
|
protectedinherited |
A logical value. True if the Hamiltonian was created, false otherwise.
Definition at line 73 of file CreateHamiltonians.m.
◆ HamiltoniansDecimated
Property CreateHamiltonians::HamiltoniansDecimated |
|
protectedinherited |
A logical value. True if the Hamiltonian was decimated, or false otherwise.
Definition at line 76 of file CreateHamiltonians.m.
◆ height
Property CreateHamiltonians::height |
|
protectedinherited |
The length of the scattering region in units of the lattice contant.
Definition at line 64 of file CreateHamiltonians.m.
◆ Hscatter
Property CreateHamiltonians::Hscatter |
|
protectedinherited |
◆ Hscatter_transverse
Property CreateHamiltonians::Hscatter_transverse |
|
protectedinherited |
The matrix of the Hamiltonian corresponding to the transverse coupling.
Definition at line 46 of file CreateHamiltonians.m.
◆ Kscatter
Property CreateHamiltonians::Kscatter |
|
protectedinherited |
◆ Kscatter_transverse
Property CreateHamiltonians::Kscatter_transverse |
|
protectedinherited |
◆ kulso_szabfokok
Property CreateHamiltonians::kulso_szabfokok |
|
protectedinherited |
Property CreateHamiltonians::M |
|
protectedinherited |
◆ MagneticFieldApplied
Property CreateHamiltonians::MagneticFieldApplied |
|
protectedinherited |
A logical value. True if the vector potential was incorporated into the Hamiltonian or false otherwise.
Definition at line 82 of file CreateHamiltonians.m.
◆ Opt
◆ OverlapApplied
Property CreateHamiltonians::OverlapApplied |
|
protectedinherited |
A logical value. True if the overlap integrals were applied, false otherwise.
Definition at line 79 of file CreateHamiltonians.m.
◆ param
Property CreateHamiltonians::param |
|
protectedinherited |
Property CreateHamiltonians::q |
|
protectedinherited |
◆ Sscatter
Property CreateHamiltonians::Sscatter |
|
protectedinherited |
◆ Sscatter_transverse
Property CreateHamiltonians::Sscatter_transverse |
|
protectedinherited |
The matrix of the overlap integrals for the transverse coupling.
Definition at line 52 of file CreateHamiltonians.m.
◆ varargin
Property CreateHamiltonians::varargin |
|
protectedinherited |
◆ width
Property CreateHamiltonians::width |
|
protectedinherited |
The documentation for this class was generated from the following file: