06.08.2013 Views

Abstract

Abstract

Abstract

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX C. GUIDE TO RTD SIMULATION CODE 147<br />

C.3 Data Files<br />

C.3.1 grid.h<br />

This is a parameter file that defines the finite difference discretization and the corre-<br />

lation length Lc for the simulation. The user must specify:<br />

• nx -Numberofx grid points (Nx).<br />

• nk -Numberofk grid points (Nk).<br />

• nc - x grid point that is as close to but no larger than the correlation length Lc.<br />

• lc - Correlation length Lc.<br />

C.3.2 material.dat<br />

This files contains a list of numbers that is read in by the routine terms, whichis<br />

located in transi.f. These values determine several simulation parameters such as<br />

the length of the device L, barrier width, barrier height, etc. To determine the<br />

relationship between the numbers and the physical constants, read terms to see how<br />

it parses though the list of values.<br />

C.4 Compiling and Running The Simulation<br />

Included with the RTD simulation code and data files are two makefiles: makeinit<br />

and newcompilehopf. These makefiles were made for and tested on the Linux cluster

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!