jabble
Class Constants

java.lang.Object
  extended by jabble.Constants

public class Constants
extends java.lang.Object

A helper class with a series of constants that might be useful during the calculation. To use the constants more easily, use the static import:


 import static jabble.Constants.*;
 ...
     double aValue = PLANCK * bValue;
 


Field Summary
static double ELECTRON_CHARGE
          Electron charge in C (1.60217646E-19).
static double ELECTRON_MASS
          Electron mass in Kg (9.10938188E-31).
static double LIGHT_SPEED
          Speed of light in m/s (299,792,458).
static double PION_MASS
          Electron mass in Kg (9.109534E-31).
static double PLANCK
          Plank constant (h-bar) in J*s (6.626068E-34 / (2.0 * PI)).
static double VACUUM_PERMITTIVITY
          Permittivity of vacuum (epsilon-0) in F/m (8.8541878176E-12)
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLANCK

public static final double PLANCK
Plank constant (h-bar) in J*s (6.626068E-34 / (2.0 * PI)).

See Also:
Constant Field Values

ELECTRON_MASS

public static final double ELECTRON_MASS
Electron mass in Kg (9.10938188E-31).

See Also:
Constant Field Values

ELECTRON_CHARGE

public static final double ELECTRON_CHARGE
Electron charge in C (1.60217646E-19).

See Also:
Constant Field Values

PION_MASS

public static final double PION_MASS
Electron mass in Kg (9.109534E-31).

See Also:
Constant Field Values

LIGHT_SPEED

public static final double LIGHT_SPEED
Speed of light in m/s (299,792,458).

See Also:
Constant Field Values

VACUUM_PERMITTIVITY

public static final double VACUUM_PERMITTIVITY
Permittivity of vacuum (epsilon-0) in F/m (8.8541878176E-12)

See Also:
Constant Field Values