Custom_Hamiltonians
Copyright (C) 2016 Peter Rakyta, Ph.D., David Visontai, Ph.D.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Class to import custom Hamiltonians provided by other codes or created manually. Currently is implemented an interface to the Siesta package.
EQuUs v4.8 or later
interface = Custom_Hamiltonians(Opt, param, varargin)
Parameters | |
---|---|
Opt | An instance of the structure Opt. |
param | An instance of structure param. |
varargin |
Optional parameters given by a sequence ...'name', value,... . Possible parameter names are the following:
|
- Cell array storing the Hamiltonian of one slab in the leads.
- Cell array storing the coupling between the slabs of the leads.
- Cell array storing the transverse coupling between the unit cells of the lead.
- Hamiltonian of the scattering center.
- Transverse coupling for the scattering region.
- Cell array storing the coupling between the leads and the scattering center.
- Cell array storing the overlap integrals of one slab in the leads.
- Cell array storing the overlap integrals between the slabs of the leads.
- Cell array storing the overlap integrals for the transverse coupling between the unit cells of the lead.
- Overlap integrals of the scattering region.
- Overlap integrals for the transverse coupling in the scattering region.
- Cell array storing the overlap integrals between the scattering region and the leads.
- Coordinates of the leads. An instance of structure coordinates.
- Coordinates of the scattering region. An instance of structure coordinates.
- Logical value: true if Hamiltonians are loaded, false otherwise.
- The Fermi energy.
- Function handle $$[H0, S0, H1, S1, H1_transverse, coordinates, Hscatter, Sscatter, coordinates_scatter, Hcoupling, Scoupling] = f( varargin )$$ for the custom Hamiltonians, with optional parameters identical to LoadHamiltonians.
- List array of optional parameters (see http://www.mathworks.com/help/matlab/ref/varargin.html for details).
CommonFunctions::LoadHamiltonians
Obtain the Hamiltonians from the external source.
object.LoadHamiltonians( varargin )
Parameters | |
---|---|
varargin |
Optional parameters given by a sequence ...'name', value,... . Possible parameters are:
|
CommonFunctions::Reset
Resets all elements in the object.
object.Reset( )
CommonFunctions::Write
Sets the value of an attribute in the object.
object.Write(MemberName, input)
Parameters | |
---|---|
MemberName | The name of the attribute to be set. |
input | The value to be set. |
CommonFunctions::Read
ret = object.Read(MemberName)
Parameters | |
---|---|
MemberName | The name of the attribute. |
Return | |
---|---|
ret | The value of the attribute. |
CommonFunctions::Clear
Clears the value of an attribute in the object.
object.Clear(MemberName)
Parameters | |
---|---|
MemberName | The name of the attribute. |
CommonFunctions::Initialize
Initializes object properties.
object.Initialize()
CommonFunctions::Siesta_Equus_interface
Creates the Hamiltonians and overlap integrals from the loaded data from the Siesta package.
object.Siesta_Equus_interface(TODO)
Parameters | |
---|---|
TODO | TODO |
CommonFunctions::InputParsing
Parses the optional parameters for the class constructor.
object.InputParsing(varargin)
Parameters | |
---|---|
varargin |
Optional parameters given by a sequence ...'name', value,... . Possible parameters are:
|
- Log in to post comments