|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.Constants
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 |
public static final int FIELD_EFIELD
public static final int FIELD_BFIELD
public static final int FIELD_MOTION_EFIELD
public static final int FIELD_MOTION_BFIELD
public static final int FIELD_MOTION_VEFIELD
public static final int FIELD_MOTION_VBFIELD
public static final int FIELD_MOTION_VREFIELD
public static final int FIELD_MOTION_VRBFIELD
public static final double COLOR_EFIELD
public static final double COLOR_BFIELD
public static double e0
public static double u0
public static double c
public static double c2
public static double Efactor
public static double Bfactor
Constructor Detail |
public Constants()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |