|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.controls.AbstractAnimation
org.opensourcephysics.controls.AbstractSimulation
org.opensourcephysics.sip.ch16.QMWalkApp
public class QMWalkApp
QMWalkApp computes and displays the ground state of a quantum mechanical system using the random walk Monte Carlo algorithm.
Field Summary |
---|
Fields inherited from class org.opensourcephysics.controls.AbstractSimulation |
---|
control, showStepsPerDisplay, stepCounter, stepsPerDisplay |
Fields inherited from class org.opensourcephysics.controls.AbstractAnimation |
---|
animationThread, decimalFormat, delayTime, mainFrame |
Constructor Summary | |
---|---|
QMWalkApp()
|
Method Summary | |
---|---|
void |
doStep()
One Monte Carlo step |
void |
initialize()
Calculates the ground state wave function and displays the result. |
static void |
main(java.lang.String[] args)
Comand line entry point. |
void |
reset()
Resets the calculation. |
void |
resetData()
Resets the accumulated data. |
Methods inherited from class org.opensourcephysics.controls.AbstractSimulation |
---|
enableStepsPerDisplay, getControl, getLoader, getStepCounter, getStepsPerDisplay, initializeAnimation, resetAnimation, run, setControl, setStepsPerDisplay, start, startAnimation, startRunning, startSimulation, stepAnimation, stop, stopAnimation, stopRunning, stopSimulation |
Methods inherited from class org.opensourcephysics.controls.AbstractAnimation |
---|
addChildFrame, clearChildFrames, getChildFrames, getDelayTime, getMainFrame, getOSPApp, isRunning, setDelayTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensourcephysics.controls.Simulation |
---|
isRunning |
Constructor Detail |
---|
public QMWalkApp()
Method Detail |
---|
public void initialize()
initialize
in class AbstractSimulation
public void doStep()
doStep
in class AbstractAnimation
public void reset()
reset
in class AbstractSimulation
public void resetData()
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |