|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--DepletionWidth
Class to calculate depletion width, and display a diagram.
| Field Summary | |
protected double |
maxX
The maximum depletion value that will be visible on this diagram |
protected double |
minV
The minimum voltage for which this diagram may be displayed |
protected double |
minX
The minimum depletion value that will be visible on this diagram |
protected double |
Na
The acceptor density |
protected double |
Nd
The donor density |
protected double |
nMultiplier
The precalculated electron depletion multiplier |
protected double |
pMultiplier
The precalculated hole depletion multiplier |
protected double |
v0
The value of v0 |
protected double |
wMultiplier
The precalculated total depletion multiplier |
| Fields inherited from interface PhysicsConstants |
e,
e_over_k,
epsilon,
epsilon0,
h,
h_bar,
k,
m,
q,
si_rel_perm |
| Constructor Summary | |
DepletionWidth(double Na,
double Nd,
double minV)
Creates a new DepletionWidth object. |
|
| Method Summary | |
double |
getNa()
Returns the acceptor density |
double |
getNd()
Returns the donor density |
double |
getV0()
Returns the value of v0 |
double |
getW(double v)
Returns W = xn + xn, the sum of the depletion widths. |
double |
getXn(double v)
Returns xn, the electron depletion width |
double |
getXp(double v)
Returns xp, the hole depletion width |
void |
paint(java.awt.Graphics g,
double v,
int w,
int h)
Draws a depletion diagram. |
protected void |
recalcMultipliers()
All the constants are combined into a multiplier, for tidiness and efficiency. |
void |
setMinV(double minV)
Used to indicate that the minimum voltage has changed. |
void |
setN(double Na,
double Nd)
Sets the acceptor and donor densities to the specified values. |
void |
setNa(double d)
Sets the acceptor density |
void |
setNd(double d)
Sets the donor density |
void |
setV0(double d)
Sets the value of v0 |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected double Na
protected double Nd
protected double nMultiplier
protected double pMultiplier
protected double wMultiplier
protected double minX
protected double maxX
protected double v0
protected double minV
| Constructor Detail |
public DepletionWidth(double Na,
double Nd,
double minV)
Na - The acceptor densityNd - The donor densityminV - The minimum voltage| Method Detail |
public double getXn(double v)
public double getXp(double v)
public double getW(double v)
protected void recalcMultipliers()
public double getNa()
public double getNd()
public void setNa(double d)
public void setNd(double d)
public void setN(double Na,
double Nd)
public void paint(java.awt.Graphics g,
double v,
int w,
int h)
g - The Graphics surface on which to paintv - The voltage for which the diagram should be drawnw - The width (in pixels) availabe for the diagramh - The height (in pixels) available for the diagrampublic void setMinV(double minV)
public double getV0()
public void setV0(double d)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||