Computing: Difference between revisions

From phys824
Jump to navigationJump to search
Line 28: Line 28:
*[http://www.physics.udel.edu/%7Ebnikolic/teaching/phys660/PDF/mlab_bench.pdf Multithreaded MATLAB performance on multicores]
*[http://www.physics.udel.edu/%7Ebnikolic/teaching/phys660/PDF/mlab_bench.pdf Multithreaded MATLAB performance on multicores]


=== M-files ===
== MATLAB Files ===


====Electron density in nanowires via density matrix====
===Electron density in nanowires using equilibrium density matrix===
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/electron_density.m electron_density.m]  
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/electron_density.m electron_density.m]  


====Density of states via retarded Green function====
===Disordered nanowires===
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/disordered_nanowire.m disordered_nanowire.m] (code for Problems 2 & 3 in Homework Set 2)
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/disordered_nanowire.m disordered_nanowire.m]
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/dos_negf.m dos_negf.m] (code to compute the density of states of a nanowire using Green functions)
 
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/graphene_dos.m graphene_dos.m] (code to compute the density of states of graphene sheet using Green functions)
===Density of states using equilibrium retarded Green function===
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/dos_negf.m dos_negf.m]  
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/graphene_dos.m graphene_dos.m]  
 
===Subband structure of graphene nanoribbons using tight-binding models===
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/8zgnr.m 8zgnr.m] (code to compute the subband structure of an infinite zigzag graphene nanoribbon discussed in the Lecture notes)
 
===Quantum transport in 1D nanowires using nonequilibrium Green functions===
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/qt_1d.m qt_1d.m] (code to compute the conductance and total and local density of states of a 1D nanowire, with possible potential barriers or impurities, attached to two semi-infinite electrodes)
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/qt_1d.m qt_1d.m] (code to compute the conductance and total and local density of states of a 1D nanowire, with possible potential barriers or impurities, attached to two semi-infinite electrodes)
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/8zgnr.m 8zgnr.m] (code to compute the subband structure of an infinite zigzag graphene nanoribbon discussed in the Lecture notes)
 
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/gnr_cond_recursive.m gnr_cond_recursive.m],[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/bstruct.m bstruct.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/blocktosparse.m blocktosparse.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/sparsetoblock.m sparsetoblock.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/h_zigzag.m h_zigzag.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/invnn.m invnn.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/Self.m Self.m], (code to compute the conductance of a finite graphene nanoribbon attached to two semi-infinite graphene electrodes)
*[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/gnr_cond_recursive.m gnr_cond_recursive.m],[http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/bstruct.m bstruct.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/blocktosparse.m blocktosparse.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/sparsetoblock.m sparsetoblock.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/h_zigzag.m h_zigzag.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/invnn.m invnn.m], [http://www.physics.udel.edu/~bnikolic/teaching/phys824/MATLAB/Self.m Self.m], (code to compute the conductance of a finite graphene nanoribbon attached to two semi-infinite graphene electrodes)



Revision as of 12:32, 4 September 2012

Unix Training

MATLAB Training

Hands-on tutorials by Instructor

Hands-on Lab tutorials by MathWorks

Reference

Books and notes

Implementation Tools

MATLAB Files =

Electron density in nanowires using equilibrium density matrix

Disordered nanowires

Density of states using equilibrium retarded Green function

Subband structure of graphene nanoribbons using tight-binding models

  • 8zgnr.m (code to compute the subband structure of an infinite zigzag graphene nanoribbon discussed in the Lecture notes)

Quantum transport in 1D nanowires using nonequilibrium Green functions

  • qt_1d.m (code to compute the conductance and total and local density of states of a 1D nanowire, with possible potential barriers or impurities, attached to two semi-infinite electrodes)

M-functions

  • matrix_exp.m (Exponential, or any other function with small changed in the code, of a Hermitian matrix)
  • visual_graphene_H.m (For a given tight-binding Hamiltonian on the honeycomb lattice, function plots position of carbon atoms and draws blue lines to represent hoppings between them; red circles to represent on-site potential between them; and cyan lines to represent the periodic boundary conditions; it can be used to test if the tight-binding Hamiltonian of graphene is set correctly); This function calls another three function which should be placed in the same directory (or in the path): atomCoord.m, atomPosition.m, and constrainView.m
  • self_energy.m (Self-energy of the semi-infinite ideal metallic lead modeled on the square tight-binding lattice - the code shows how to convert analytical formulas of the lead surface Green function into a working program)

Density functional theory via GPAW

Hands-on Lab Sessions