|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.sip.ch16.Schroedinger
public class Schroedinger
Schroedinger solves the time independent Schroedinger equation
| Constructor Summary | |
|---|---|
Schroedinger()
|
|
| Method Summary | |
|---|---|
double |
evaluatePotential(double x)
Evaluates the potential using a step at x=0. |
void |
getRate(double[] state,
double[] rate)
Gets the rate using the given state. |
double[] |
getState()
Gets the state. |
void |
initialize()
Constructs a simple quantum mechanical model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Schroedinger()
| Method Detail |
|---|
public void initialize()
numberOfPoints - number of grid pointsa - half intervalpublic double[] getState()
getState in interface ODE
public void getRate(double[] state,
double[] rate)
getRate in interface ODEstate - rate - public double evaluatePotential(double x)
x -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||