Serialized Form

Class BaseApplet implements Serializable

Serialized Fields

buffer

java.awt.Image buffer
The image used for buffering

GRAPH_MARGIN

int GRAPH_MARGIN

refresh

boolean refresh
true if the buffer has been invalidated, else false

resizeListener

BaseApplet.ResizeListener resizeListener
Instance of ResizeListener used to detect size changes

safetyLimit

boolean safetyLimit
true if extra range checks are enabled, else false

useBuffer

boolean useBuffer
true if buffering is enabled, else false


Class BaseApplet2 implements Serializable

Serialized Fields

boxes

java.util.Vector boxes

buttons

java.util.Vector buttons

enablePrompt

boolean enablePrompt

fields

java.util.Vector fields

focus

java.lang.Object focus

panel

java.awt.Panel panel

statusLabel

java.awt.Label statusLabel

useSwing

boolean useSwing


Class BaseApplet2.FixedButton implements Serializable

Serialized Fields

this$0

BaseApplet2 this$0


Class BaseApplet2.FixedCheckbox implements Serializable

Serialized Fields

listeners

java.util.Vector listeners

state

boolean state

this$0

BaseApplet2 this$0


Class CCApplet implements Serializable

Serialized Fields

autoScale

java.awt.Checkbox autoScale

dFunction

CCApplet.DensityFunction dFunction
The density of states function

dispRange

double dispRange
The selected display to band gap size ratio

dPlotter

Plotter dPlotter

ef

double ef
The selected Fermi level

efListener

CCApplet.EFListener efListener
Listener for the Fermi level slider

fdFunction

FermiDirac fdFunction
The Fermi-Dirac function

fermiField

java.awt.TextField fermiField

fPlotter

Plotter fPlotter

function

CarrierConcentration function
Electron concentration function

gap

double gap
The selected band gap size

gapField

java.awt.TextField gapField

graphW

int graphW

holeFunction

CarrierConcentration holeFunction
Hole concentration function

holePlotter

Plotter holePlotter

hSpace

int hSpace

logScale

java.awt.Checkbox logScale

maxEF

double maxEF
The maximum Fermi level

maxT

double maxT
The maximum temperature

minEF

double minEF
The minimum Fermi level

minT

double minT
The minimum temperature

noScale

java.awt.Checkbox noScale

plotter

Plotter plotter

rangeField

java.awt.TextField rangeField

ratioField

java.awt.TextField ratioField

t

double t
The selected temperature

tempField

java.awt.TextField tempField

tempListener

CCApplet.TemperatureListener tempListener
Listener for the temperature slider

tempScale

java.awt.Checkbox tempScale

tPlotter

Plotter tPlotter

vSpace

int vSpace


Class DCCApplet implements Serializable

Serialized Fields

acceptorField

java.awt.TextField acceptorField

cap

Capacitance cap
The capacitance function

capPlotter

Plotter2 capPlotter

cur

Current cur
The current function

curPlotter

Plotter2 curPlotter

depletion

DepletionWidth depletion
The depletion width diagram

donorField

java.awt.TextField donorField

maxV

double maxV
The maximum permitted voltage

minV

double minV
The minimum permitted voltage

selectedV

double selectedV

v0

double v0
The value of v0

vListener1

BaseApplet2.GraphClickListener vListener1
Listener for the voltage slider on the current graph

vListener2

BaseApplet2.GraphClickListener vListener2
Listener for the voltage slider on the capacitance graph

voltageField

java.awt.TextField voltageField


Class Diffusion implements Serializable

Serialized Fields

animButton

java.awt.Button animButton

countField

java.awt.TextField countField

dt

double dt
The time step to use (default 0.001)

electronCount

int electronCount
The number of electrons

electrons

java.util.Vector electrons
A Vector containing all electrons present in the simulation.

electronSize

int electronSize
The size (in pixels) of circle to draw for an electron

h

int h
Local copy of the height of the display area

hSpace

int hSpace

killed

boolean killed
true if the animation should terminate at the next available opportunity, otherwise false.

maxT

double maxT
The maximum temperature permitted

minT

double minT
The minimum temperature permitted

resetButton

java.awt.Button resetButton

simH

double simH
Width of the box, in simulation units

simW

double simW
Width of the box, in simulation units

sliderW

int sliderW

sliderX

int sliderX

temp

double temp
The temperature

tempField

java.awt.TextField tempField

tempListener

Diffusion.TemperatureListener tempListener

thr

java.lang.Thread thr
The animation thread, or null if no animation is in progress.

tPlotter

Plotter tPlotter

vMultiplier

double vMultiplier
The velocity multiplier. Rather than adjusting the momentum of every electron whenever the temperature is changed, a constant multiplier is applied to all velocities. If the velocities were modified directly, inaccuracies would creep in quite rapidly (temperature changes every time slider is "seen" in a different position).

vSpace

int vSpace

w

int w
Local copy of the width of this applet

xHist

Histogram xHist

xvPlotter

Plotter xvPlotter

yHist

Histogram yHist

yvPlotter

Plotter yvPlotter


Class EmissionApplet implements Serializable

Serialized Fields

absorb

double absorb
Probability that a passing photon will be absorbed by a particular electron

absorbField

java.awt.TextField absorbField

destroy

java.awt.Button destroy

destroyPhotons

boolean destroyPhotons
Indicates that on the next logic cycle, all photons should be culled

dt

double dt
The rate of advancement of simulation time

electrons

EmissionApplet.Electron[] electrons
An array of all the electrons in the simulation

electronSpeed

double electronSpeed
The ratio of electron speed to photon speed

emit

double emit
Probability that a passing photon will trigger an emission from a particular electron

emitField

java.awt.TextField emitField

exciteAll

java.awt.Button exciteAll

excitedY

int excitedY
The y coordinate at which excited electrons should be drawn

exciteNone

java.awt.Button exciteNone

hGap

double hGap
The width (in simulation units) of the spacing between electrons

hMargin

int hMargin

inversionField

java.awt.TextField inversionField

invert

java.awt.Button invert

margin

double margin
Proportion of the simulation reserved at the top and bottom for electrons. No photons will be created in those regions.

normalY

int normalY
The y coordinate at which non-excited electrons should be drawn

photons

java.util.Vector photons
A list of all the photons in the simulation

pump

double pump
Average proportion of non-excited electrons which will be pumped to the upper energy level in the time it takes for a photon to pass through the simulation.

pumpField

java.awt.TextField pumpField

simH

double simH
The width (in simulation units) of the simulation

simW

double simW
The width (in simulation units) of the simulation

sinTable

int[] sinTable
Cache of sine values

spont

double spont
Average proportion of excited electrons which will spontaneously emit a photon in the time it takes for a photon to pass through the simulation.

spontField

java.awt.TextField spontField

thr

java.lang.Thread thr
The thread used to perform the work of the simulation

vMargin

int vMargin

waveDispLen

int waveDispLen


Class FDApplet implements Serializable

Serialized Fields

approxBox

java.awt.Checkbox approxBox

boltzmann

FermiDirac boltzmann
The Boltzmann distribution

bzPlotter

Plotter bzPlotter

fdPlotter

Plotter fdPlotter

function

FermiDirac function
The Fermi-Dirac distribution

holeBox

java.awt.Checkbox holeBox

holePlotter

Plotter holePlotter

logBox

java.awt.Checkbox logBox

MAX_T

double MAX_T
The maximum temperature permitted (minimum is always zero Kelvin)

maxX

double maxX
The maximum value visible on the x axis

minX

double minX
The minimum value visible on the x axis

rangeField

java.awt.TextField rangeField

temperatureListener

FDApplet.TemperatureListener temperatureListener

tempField

java.awt.TextField tempField

tPlotter

Plotter tPlotter

vSpace

int vSpace


Class FeedbackApplet implements Serializable

Serialized Fields

dtField

java.awt.TextField dtField

exitDensity

TimeGraph exitDensity

exited

int exited
The number of electrons that have left since the "Exit rate" label was last updated

exitMessage

java.lang.String exitMessage
The text of the "Exit rate" label

feedbackField

java.awt.TextField feedbackField

feedbackRate

double feedbackRate
Average proportion of photons leaving the simulation (by reaching the extreme right of the display, not by absorption) which will be returned to the start.

loopTime

double loopTime
Time between updates to the exit rate label

obsCount

int obsCount
The number of electrons that have left since the last observation was added to the "exit rate" graph

observations

int observations
Number of samples to fit on the "exit rate" graph

obsTimer

double obsTimer
Time elapsed since last observation was added to the exit rate graph

plotter

Plotter2 plotter

sampleTime

double sampleTime
Time between updates to the exit rate label

t

double t
Time elapsed since last update to the exit rate label


Class FourLevels implements Serializable

Serialized Fields

energyLevelY

int[] energyLevelY
An array of four y co-ordinates (measured in pixels), one for each energy level.

lowerDecayField

java.awt.TextField lowerDecayField

lowerDecayRate

double lowerDecayRate
The rate at which electrons move to the bottommost state from the state immediately above.

upperDecayField

java.awt.TextField upperDecayField

upperDecayRate

double upperDecayRate
The rate at which electrons move from the topmost state to the state immediately below.


Class HoleApplet implements Serializable

Serialized Fields

animThread

java.lang.Thread animThread
The thread performing the animation, or null if no animation is in progress.

delay

int delay
The time delay between logic cycles (milliseconds)

killAnim

boolean killAnim
true if the animation should halt at the next opportunity, else false.

lattice

HoleLattice lattice
The model used. This could potentially be exchanged for an accurate model.

smoothAnimBox

java.awt.Checkbox smoothAnimBox
Checkbox for the user to choose between smooth animation (electrons can be seen moving), or instant changes (hole disappears from one place, appears in another).


Class HSApplet implements Serializable

Serialized Fields

integral

TimeGraph integral

intPlotter

Plotter intPlotter

lifetimeField

java.awt.TextField lifetimeField

observations

int observations
The number of time samples before the graphs "wrap around"

observer

TimeGraph observer

obsField

java.awt.TextField obsField

obsListener

BaseApplet2.GraphClickListener obsListener
Listener to detect changes in the position of the observer.

obsMax

double obsMax
The largest value "seen" so far at the observation point

obsPlotter

Plotter obsPlotter

obsPoint

int obsPoint
The array index corresponding to the observation point

obsWidth

double obsWidth
The width of the observed gaussian, or zero if unknown

obsX

double obsX
The selected observation point

startIntegral

double startIntegral
The integral at the start of the simulation


Class KP implements Serializable

Serialized Fields

cache

SolnCache cache
Stores solution, so that folding/unfolding does not require recalculation

eqn

Solvable eqn
The Kronig-Penny model

foldBox

java.awt.Checkbox foldBox

folded

boolean folded
true if the x-axis is folded, else false

freeBox

java.awt.Checkbox freeBox

freePlotter

Plotter freePlotter

massPlotter

Plotter massPlotter

maxXField

java.awt.TextField maxXField

negative

boolean negative
true if the x-axis includes negative values, else false

negBox

java.awt.Checkbox negBox

pField

java.awt.TextField pField

plotter

Plotter plotter


Class LatticeApplet implements Serializable

Serialized Fields

angle

java.awt.Label angle

bases

Lattice2D.Basis[] bases
A list of all available bases

boxes

java.awt.Checkbox[] boxes
A checkbox for each basis

cbg

java.awt.CheckboxGroup cbg
Ensures that exactly one basis will be selected

labels

java.lang.String[] labels
Names for all available bases

lastPos

java.awt.Point lastPos

lattice

Lattice2D lattice
The lattice itself

mod1

java.awt.Label mod1

mod2

java.awt.Label mod2

ratio

java.awt.Label ratio

reciprocal

Lattice2D reciprocal
The lattice itself

rightPanel

java.awt.Panel rightPanel
Container to hold all the GUI components. Will be positioned to the right of the applet using BorderLayout.

vectorMoveListener

LatticeApplet.VectorMoveListener vectorMoveListener
Listener for changes in the vectors.


Class Shoot implements Serializable

Serialized Fields

chooser

java.awt.Button chooser

depthField

java.awt.TextField depthField

depthLabel

java.awt.Label depthLabel

drawButton

java.awt.Button drawButton

energyChangeListener

Shoot.EnergyChangeListener energyChangeListener
Listener for changes to the position of the energy slider.

energyField

java.awt.TextField energyField

eqn

Schrodinger eqn
Instance of Schrodinger to use to generate solution data

freehandEnabled

boolean freehandEnabled

freehandListener

BaseApplet2.GraphClickListener freehandListener

function

Function function
The (piecewise-constant) potential function

functionIndex

int functionIndex

functionNames

java.lang.String[] functionNames

functions

Function[] functions
The (quadratic) potential function

hSpace1

int hSpace1

hSpace2

int hSpace2

intWidthField

java.awt.TextField intWidthField

nWellsField

java.awt.TextField nWellsField

periodField

java.awt.TextField periodField

plotter

Plotter2 plotter

potPlotter

Plotter2 potPlotter

quadBox

java.awt.Checkbox quadBox

refreshButton

java.awt.Button refreshButton

selectedY1

double selectedY1
The first limit for the search interval.

selectedY2

double selectedY2
The second limit for the search interval.

solveButton

java.awt.Button solveButton

solveThread

SolnSearcher solveThread
Thread currently searching for a solution, or null if there is no search in progress.

squareValues

java.awt.Checkbox squareValues

steps

int steps
The number of x values to sample

stepsField

java.awt.TextField stepsField

vSpace1

int vSpace1

vSpace2

int vSpace2

wellResizeListener

Shoot.WellResizeListener wellResizeListener
Listener for changes to the position of the "well width" slider.

widthField

java.awt.TextField widthField


Class TimeDep implements Serializable

Serialized Fields

anim

AnimThread anim
The thread used for animation, or null if no animation is in progress.

animButton

java.awt.Button animButton

depthField

java.awt.TextField depthField

dt

double dt
The step size for the time direction

dtField

java.awt.TextField dtField

dx

double dx
The step size for the x direction

dxField

java.awt.TextField dxField

energyField

java.awt.TextField energyField

eqn

TimeDepSchrodinger eqn
The time-dependent schrodinger equation

fnStartField

java.awt.TextField fnStartField

fnWidthField

java.awt.TextField fnWidthField

function

MultipleWells function
The potential function to use when in "wells mode"

intWidth

double intWidth
The size of the x axis interval to solve across

intWidthField

java.awt.TextField intWidthField

nWellsField

java.awt.TextField nWellsField

plotter

Plotter2 plotter

potPlotter

Plotter2 potPlotter

quadBox

java.awt.Checkbox quadBox

quadFunction

Quadratic quadFunction
The potential function to use when in "quadratic mode"

resetButton

java.awt.Button resetButton

stepButton

java.awt.Button stepButton

steps

int steps
The number of different x values to use in the model

widthField

java.awt.TextField widthField


Class TransGraph implements Serializable

Serialized Fields

abortListener

java.awt.event.MouseListener abortListener
Listens for clicks on the graph, which indicate that a calculation should be aborted.

both

java.awt.Checkbox both

bottomPanel

java.awt.Panel bottomPanel

depthField

java.awt.TextField depthField

eqn

Transmission eqn
The object responsible for performing the calculations

function

MultipleWells function
The potential function

maxEnergyField

java.awt.TextField maxEnergyField

minEnergyField

java.awt.TextField minEnergyField

nWellsField

java.awt.TextField nWellsField

periodField

java.awt.TextField periodField

plotter

Plotter plotter

potPlotter

Plotter potPlotter

reflection

java.awt.Checkbox reflection

refreshThread

java.lang.Thread refreshThread
The thread used to perform the repainting, or null if no repainting is in progress.

transmission

java.awt.Checkbox transmission

widthField

java.awt.TextField widthField