Class EffectiveMass

java.lang.Object
  |
  +--EffectiveMass

class EffectiveMass
extends java.lang.Object
implements Solvable

Calculates effective mass of an electron, given an energy-momentum model (such as the KronigPenny model).

Not sure if this implementation is correct!


Field Summary
protected  Solvable energyMomentum
          The energy-momentum model
 
Constructor Summary
EffectiveMass(Solvable energyMomentum)
          Creates a new effective mass calculator
 
Method Summary
 void solve(double x0, double step, double[] vals)
          Requests that the supplied array be filled with solution data.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

energyMomentum

protected Solvable energyMomentum
The energy-momentum model
Constructor Detail

EffectiveMass

public EffectiveMass(Solvable energyMomentum)
Creates a new effective mass calculator
Parameters:
energyMomentum - The energy-momentum model
Method Detail

solve

public void solve(double x0,
                  double step,
                  double[] vals)
Description copied from interface: Solvable
Requests that the supplied array be filled with solution data. The nth element of the array should be the solution at x = x0 + step*n.
Specified by:
solve in interface Solvable
Tags copied from interface: Solvable
Parameters:
x0 - The initial x-value
step - The increment to be applied to x0
vals - The array which will hold the solution data