WISA.wisa3D.module
Class OrbitProcessor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--WISA.wisa3D.module.DataProcessor
              |
              +--WISA.wisa3D.module.OrbitProcessor
All Implemented Interfaces:
java.lang.Runnable

public class OrbitProcessor
extends DataProcessor


Field Summary
static double C0
           
static double e
           
static double Epsilon0
           
static double HBar
           
static double MElectron
           
static double MProton
           
static double Mu0
           
 
Fields inherited from class WISA.wisa3D.module.DataProcessor
data, note, okPressed, progress, stop, success
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OrbitProcessor()
           
 
Method Summary
 java.lang.String[] getInfo()
          Gibt eine kurze Information über die Aufgaben dieses DataProcessors zurück.
 visad.ScalarMap[] getMaps()
          Gibt das für den entsprechenden Processor beste Mapping zurück.
 double getProbability(double r, double theta, double phi, int n, int l, int m)
          Computes the possibilty for a electron to be at the specified location.
 double getProbabilityCartesian(double x, double y, double z, int n, int l, int m)
          Computes the possibilty for a electron to be at the specified location.
 javax.swing.JDialog makeOptionDialog(java.awt.Frame owner)
          Braucht der Processor noch Benutzereingaben um seine Berechnungen durchführen zu können, so kann hier ein Dialog implementiert werden.
protected  void processData()
          Führt für die implementierte Unterklasse von DataProcessor typische Berechnungen an der Datenmenge aus.
 
Methods inherited from class WISA.wisa3D.module.DataProcessor
getData, getIcon, getNote, getProcessorName, getProgress, inputNeeded, isDone, okPressed, progressMonitoringDesired, run, setData, stopTask, success
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

C0

public static final double C0
See Also:
Constant Field Values

Mu0

public static final double Mu0
See Also:
Constant Field Values

Epsilon0

public static final double Epsilon0
See Also:
Constant Field Values

HBar

public static final double HBar
See Also:
Constant Field Values

e

public static final double e
See Also:
Constant Field Values

MProton

public static final double MProton
See Also:
Constant Field Values

MElectron

public static final double MElectron
See Also:
Constant Field Values
Constructor Detail

OrbitProcessor

public OrbitProcessor()
Method Detail

processData

protected void processData()
Description copied from class: DataProcessor
Führt für die implementierte Unterklasse von DataProcessor typische Berechnungen an der Datenmenge aus.

Specified by:
processData in class DataProcessor

getProbabilityCartesian

public double getProbabilityCartesian(double x,
                                      double y,
                                      double z,
                                      int n,
                                      int l,
                                      int m)
Computes the possibilty for a electron to be at the specified location.


getProbability

public double getProbability(double r,
                             double theta,
                             double phi,
                             int n,
                             int l,
                             int m)
Computes the possibilty for a electron to be at the specified location.


getMaps

public visad.ScalarMap[] getMaps()
Description copied from class: DataProcessor
Gibt das für den entsprechenden Processor beste Mapping zurück. Unterstützt ein Processor diese Funktion nicht, wird null zurückgegeben und Wisa3DFrame sorgt für ein Automapping.

Overrides:
getMaps in class DataProcessor
Returns:
Das Mapping welches die bearbeiteten Daten am besten darstellt oder null.

getInfo

public java.lang.String[] getInfo()
Description copied from class: DataProcessor
Gibt eine kurze Information über die Aufgaben dieses DataProcessors zurück. Jeder DataProcessor sollte diese Methode überschreiben. Das zurückgegebene String-array enthält im ersten Element den Namen des Autors, im zweiten dessen Email-Adresse, im dritten die aktuelle Versionsnummer und im vierten eine kurze Beschreibung der Aufgaben dieses Moduls.

Overrides:
getInfo in class DataProcessor

makeOptionDialog

public javax.swing.JDialog makeOptionDialog(java.awt.Frame owner)
Description copied from class: DataProcessor
Braucht der Processor noch Benutzereingaben um seine Berechnungen durchführen zu können, so kann hier ein Dialog implementiert werden. Der Dialog wird automatisch vor Beginn der Berechungszeit aufgerufen und kann dabei beliebig aussehen. Voraussetzung ist das er modal ist da ansonsten der Processor gestartet wird ohne auf die Benutzereingaben zu warten.

Overrides:
makeOptionDialog in class DataProcessor