org.opensourcephysics.sip.ch16
Class SchroedingerApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractCalculation
      extended by org.opensourcephysics.sip.ch16.SchroedingerApp
All Implemented Interfaces:
Calculation

public class SchroedingerApp
extends AbstractCalculation

SchroedingerApp displays a solution to the time-independent Schroedinger equation.


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation
control, decimalFormat, mainFrame
 
Constructor Summary
SchroedingerApp()
          Constructs SchroedingerApp and sets plotting frame parameters.
 
Method Summary
 void calculate()
          Calculates the wave function.
static void main(java.lang.String[] args)
          The main method starts the Java application.
 void reset()
          Resets the calculation parameters.
 
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchroedingerApp

public SchroedingerApp()
Constructs SchroedingerApp and sets plotting frame parameters.

Method Detail

calculate

public void calculate()
Calculates the wave function.

Specified by:
calculate in interface Calculation
Specified by:
calculate in class AbstractCalculation

reset

public void reset()
Resets the calculation parameters.

Overrides:
reset in class AbstractCalculation

main

public static void main(java.lang.String[] args)
The main method starts the Java application.

Parameters:
args[] - the input parameters