simulations
Class Constants

java.lang.Object
  extended bysimulations.Constants

public class Constants
extends java.lang.Object

Electromagnetic constants and field and field motion constants. The class defines the integers for various field types and field motion types. This class also defines the free-space permittivity and permeability somewhat arbitrarily so that the speed of light is 1000 units/second. It may be a good idea to rescale these to SI units at some point.


Field Summary
static double Bfactor
          mhu naught over 4 pi in Biot Savart Law
static double c
          the speed of light computed from above values
static double c2
          the speed of light squared computed from above values
static double COLOR_BFIELD
          The "colorHue" value used as the default for magnetic fields
static double COLOR_EFIELD
          The "colorHue" value used as the default for electric fields
static double e0
          episilon naught
static double Efactor
          1/(4 pi epsilon naught) in coulomb's law
static int FIELD_BFIELD
          FieldType for magnetostatics experiments.
static int FIELD_EFIELD
          FieldType for electrostatics experiments.
static int FIELD_MOTION_BFIELD
          FieldMotionType for magnetostatics experiments.
static int FIELD_MOTION_EFIELD
          FieldMotionType for electrostatics experiments.
static int FIELD_MOTION_VBFIELD
          FieldMotionType for fluid flow parallel to B field.
static int FIELD_MOTION_VEFIELD
          FieldMotionType for fluid flow parallel to E field.
static int FIELD_MOTION_VRBFIELD
          FieldMotionType for fluid flow varying by spatial region.
static int FIELD_MOTION_VREFIELD
          FieldMotionType for fluid flow varying by spatial region.
static double u0
          mhu naught
 
Constructor Summary
Constants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_EFIELD

public static final int FIELD_EFIELD
FieldType for electrostatics experiments.

See Also:
Constant Field Values

FIELD_BFIELD

public static final int FIELD_BFIELD
FieldType for magnetostatics experiments.

See Also:
Constant Field Values

FIELD_MOTION_EFIELD

public static final int FIELD_MOTION_EFIELD
FieldMotionType for electrostatics experiments.

See Also:
Constant Field Values

FIELD_MOTION_BFIELD

public static final int FIELD_MOTION_BFIELD
FieldMotionType for magnetostatics experiments.

See Also:
Constant Field Values

FIELD_MOTION_VEFIELD

public static final int FIELD_MOTION_VEFIELD
FieldMotionType for fluid flow parallel to E field.

See Also:
Constant Field Values

FIELD_MOTION_VBFIELD

public static final int FIELD_MOTION_VBFIELD
FieldMotionType for fluid flow parallel to B field.

See Also:
Constant Field Values

FIELD_MOTION_VREFIELD

public static final int FIELD_MOTION_VREFIELD
FieldMotionType for fluid flow varying by spatial region.

See Also:
Constant Field Values

FIELD_MOTION_VRBFIELD

public static final int FIELD_MOTION_VRBFIELD
FieldMotionType for fluid flow varying by spatial region.

See Also:
Constant Field Values

COLOR_EFIELD

public static final double COLOR_EFIELD
The "colorHue" value used as the default for electric fields

See Also:
Constant Field Values

COLOR_BFIELD

public static final double COLOR_BFIELD
The "colorHue" value used as the default for magnetic fields

See Also:
Constant Field Values

e0

public static double e0
episilon naught


u0

public static double u0
mhu naught


c

public static double c
the speed of light computed from above values


c2

public static double c2
the speed of light squared computed from above values


Efactor

public static double Efactor
1/(4 pi epsilon naught) in coulomb's law


Bfactor

public static double Bfactor
mhu naught over 4 pi in Biot Savart Law

Constructor Detail

Constants

public Constants()