A class to import custom Hamiltonians provided by other codes or created manually
More...
A class to import custom Hamiltonians provided by other codes or created manually
EQuUs v4.8 or later
Definition at line 26 of file Custom_Hamiltonians.m.
◆ Custom_Hamiltonians()
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
◆ 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 Custom_Hamiltonians::Clear |
( |
MemberName |
| ) |
|
Clears the value of an attribute in the class.
- Parameters
-
MemberName | The name of the attribute to be cleared. |
◆ 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.
◆ Initialize()
function Custom_Hamiltonians::Initialize |
( |
| ) |
|
|
private |
Initializes object properties.
◆ InputParsing()
Parses the optional parameters for the class constructor.
- Parameters
-
varargin | Optional parameters, see the web documantation. |
'EF' | The Fermi energy. |
'CustomHamiltoniansHandle' | A function handle for the custom Hamiltonians with identical input values as LoadHamiltonians, and output values described in the example Hamiltonians. |
◆ LoadHamiltonians()
Obtain the Hamiltonians from the external source.
- Parameters
-
◆ Read()
function Custom_Hamiltonians::Read |
( |
MemberName |
| ) |
|
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.
◆ Reset()
Resets all elements in the object.
◆ Write()
function Custom_Hamiltonians::Write |
( |
MemberName |
, |
|
|
input |
|
|
) |
| |
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 Custom_Hamiltonians::coordinates |
|
protected |
◆ coordinates_scatter
Property Custom_Hamiltonians::coordinates_scatter |
|
protected |
◆ CustomHamiltoniansHandle
Property Custom_Hamiltonians::CustomHamiltoniansHandle |
|
protected |
◆ EF
Property Custom_Hamiltonians::EF |
|
protected |
◆ H0
Property Custom_Hamiltonians::H0 |
|
protected |
◆ H1
Property Custom_Hamiltonians::H1 |
|
protected |
◆ H1_transverse
Property Custom_Hamiltonians::H1_transverse |
|
protected |
Cell array of transverse coupling between the unit cells of the lead.
Definition at line 42 of file Custom_Hamiltonians.m.
◆ Hamiltonians_loaded
Property Custom_Hamiltonians::Hamiltonians_loaded |
|
protected |
logical value: true if Hamiltonians are loaded, false otherwise.
Definition at line 78 of file Custom_Hamiltonians.m.
◆ Hcoupling
Property Custom_Hamiltonians::Hcoupling |
|
protected |
Cell array of couplings between the scattering region and the leads.
Definition at line 51 of file Custom_Hamiltonians.m.
◆ Hscatter
Property Custom_Hamiltonians::Hscatter |
|
protected |
◆ Hscatter_transverse
Property Custom_Hamiltonians::Hscatter_transverse |
|
protected |
◆ Opt
◆ param
Property Custom_Hamiltonians::param |
|
protected |
◆ S0
Property Custom_Hamiltonians::S0 |
|
protected |
◆ S1
Property Custom_Hamiltonians::S1 |
|
protected |
Cell array of overlap integrals between the slabs of the leads.
Definition at line 57 of file Custom_Hamiltonians.m.
◆ S1_transverse
Property Custom_Hamiltonians::S1_transverse |
|
protected |
overlap integrals for the transverse coupling between the unit cells of the lead
Definition at line 60 of file Custom_Hamiltonians.m.
◆ Scoupling
Property Custom_Hamiltonians::Scoupling |
|
protected |
Cell array of overlap integrals between the scattering region and the leads.
Definition at line 69 of file Custom_Hamiltonians.m.
◆ Sscatter
Property Custom_Hamiltonians::Sscatter |
|
protected |
◆ Sscatter_transverse
Property Custom_Hamiltonians::Sscatter_transverse |
|
protected |
overlap integrals for the transverse coupling in the scattering region
Definition at line 66 of file Custom_Hamiltonians.m.
◆ varargin
Property Custom_Hamiltonians::varargin |
|
protected |
The documentation for this class was generated from the following file: