|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object simulations.objects.BaseObject simulations.objects.ColorTestField
Color Test Field. This BaseObject calculates a simple field linear field in the z direction that we can use in color testing.
Field Summary | |
double |
ACT
the slope of the field at the origin |
double |
BCT
the value of the field at the origin of the point charge |
Constructor Summary | |
ColorTestField(double ACT,
double BCT)
constructor for color test field |
Method Summary | |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
the magnetic field of the color test field is zero |
Vec3 |
Efield(Vec3 x,
Vec3 E)
the electric field of our color test field |
java.lang.String |
toString()
writes properties of the point charge to a string |
Methods inherited from class simulations.objects.BaseObject |
Bfield, Efield, Evolve, Pfield, Pfield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double BCT
public double ACT
Constructor Detail |
public ColorTestField(double ACT, double BCT)
BCT
- the value of the field at the originACT
- the slope of the field at the originMethod Detail |
public Vec3 Efield(Vec3 x, Vec3 E)
Efield
in class BaseObject
x
- the position of the observerE
- the electric field at the position of the observer
public Vec3 Bfield(Vec3 x, Vec3 B)
Bfield
in class BaseObject
x
- the position of the observerB
- the magnetic field at the observer's position
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |