IntroductionInterfacesroot/ root/utils Data structuresExamples | CreateHamiltoniansCopyright (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 object providing interface to create and store the Hamiltonian and geometry data of the scattering region. Syntax object = CreateHamiltonians( Opt, param )
Attributes
Methods
CreateHamiltonians::CreateScatterHCreates a Hamiltonian of a finite ribbon on hexagonal lattice or construct the Hamiltonian from the unit cell provided in the interface Surface_tmp. The Hamiltonian and the structure containing the coordinates are stored within the class. Syntax object.CreateScatterH( varargin )
CreateHamiltonians::saveScatterDescription Saves the attributes of the present interface into a file. Syntax object.saveScatter( filename )
CreateHamiltonians::loadScatterDescription Load the attributes from a given file. Syntax object.loadScatter( filename )
CreateHamiltonians::projectHamiltonian2SpinDescription Projects the Hamiltonian to the spin space of $$s=\pm1$$. Syntax object.projectHamiltonian2Spin( s )
CreateHamiltonians::MemberWriteSets the value of an attribute. Syntaxobject.MemberWrite(MemberName, input)
CreateHamiltonians::MemberReadDescription Reads the value of an attribute in the interface. Syntaxret = object.MemberRead(MemberName)
CreateHamiltonians::MemberClearDescription Clears the value of an attribute in the interface. Syntaxobject.MemberClear(MemberName)
CreateHamiltonians::CreateCloneCreates a clone of the current interface. Syntax interface = interface.CreateClone()
|