IntroductionInterfacesroot/ root/utils Data structuresExamples | RibbonCopyright (C) 2009-2015 Peter Rakyta, 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/. Description Returns an interface to perform transport calculations on a finite ribbon. Syntax interface = Ribbon(varargin)
Attributes
Methods
Ribbon::TransportCalculates the conductance of a finite ribbon connected to the leads in the "contact/scattering center/contact" arrangement. Use for development purpose only. Syntax [Conductivity,aspect_ratio,Conductance,ny,DeltaC] = interface.Transport(Energy)
Ribbon::CreateScatterCreates an instance of the interface CreateHamiltoninans for the scattering region. Syntax interface.CreateScatter() Ribbon::ShiftLeadsShifts the on-site potential in the leads. Syntax interface.ShiftLeads( Energy )
Ribbon::setEnergySets the energy to be used in the calculations. Syntax interface.setEnergy( Energy )
Ribbon::CustomDysonFuncCustom Dyson function for connecting the leads to the scattering region in the "contact/scattering center/contact" arrangement. Syntax Gret = interface.CustomDysonFunc( varargin )
Ribbon::CalcFiniteGreensFunctionCalculates the surface Greens function of a finite ribbon. The calculated Greens function is stored in the G attribute. Syntax interface.CalcFiniteGreensFunction( varargin )
Ribbon::CreateRibbonCreates an instance of the interface Surface_Green_function describing the unit cell in the ribbon. The created interface is stored in the attribute ws_ribbon.Surface_tmp. On hexagonal lattice a list ws_ribbon.Surface_interface containing of instances of Surface_Green_function is also created. The members of the list are to be used as the interface regions between the leads and the scattering region. Syntax interface.CreateRibbon( vavargin )
Ribbon::ApplyMagneticFieldApplies the magnetic filed in the Hamiltonian of the unit cell. Syntax interface.ApplyMagneticField() Ribbon::DecimateInterfaceDecimates the Hamiltonians of the interface regions stored in ws_ribbon.Surface_interface (needed in hexagonal lattice). Syntax interface.DecimateInterface( idx )
Ribbon::setHandlesForMagneticFieldSets the function handles of the vector potentials and gauge fields for applying the magnetic field in the Hamiltonians. Syntax interface.setHandlesForMagneticField( varargin )
Ribbon::AddPNPotentialAdds the p-n potential to the ribbon Hamiltonian. Syntax interface.AddPNPotential( Surface_tmp )
Ribbon::createPNpotentialCreates the p-n potential to be applied in the Hamiltonians. Syntax pot = interface.createPNpotential()
Ribbon::DecimationFunctionPerforms the decimation procedure on the inverse Green's Function. Syntax ret = interface.DecimationFunction( kulso_szabfokok, ginv )
Ribbon::GetWorkspaceReturn the handle class ws_ribbon of the workspace of the interface Ribbon. Changes in fields of the workspace are not always safe, since the reinitialization of the interface is not performed. Syntax interface.GetWorkspace( )
|