|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.Line3DMagneticDipoles
Line 3D Magnetic Dipoles: This BaseObject calculates the non-relativistic electric and magnetic fields of a line of magnetic dipoles is at position p moving with velocity v. The axis of the line is given by the unit vector tline and the magnetic dipole moment per unit length vector is given by mdipole.
Field Summary | |
int |
image
image charge parameter for line of dipoles. |
Vec3 |
mdipole
the magnetic dipole moment per unit length vector of the line of dipoles |
Vec3 |
p
the position of the beginning of the line of dipoles |
Vec3 |
tline
A unit vector along the axis of the line of dipoles |
Vec3 |
v
Velocity of the line of magnetic dipoles |
double |
zplane
The location of the thin conducting sheet in z |
Constructor Summary | |
Line3DMagneticDipoles(Vec3 mdipole,
Vec3 tline,
Vec3 p,
Vec3 v,
double zplane,
int image)
constructor for the line of dipoles |
Method Summary | |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
the magnetic field of a non-relativistic line of moving magnetic dipoles |
Vec3 |
Efield(Vec3 x,
Vec3 E)
the electric field of a moving monopole |
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 Vec3 mdipole
public Vec3 tline
public Vec3 p
public Vec3 v
public double zplane
public int image
Constructor Detail |
public Line3DMagneticDipoles(Vec3 mdipole, Vec3 tline, Vec3 p, Vec3 v, double zplane, int image)
mdipole
- the magnetic dipole moment per unit lengthtline
- A unit vector along the axis of the line of dipoles.p
- The position of the beginning of the line of dipoles.zplane
- The location of the conducting plane.image
- The image charge parameter for the line of dipoles.Method Detail |
public Vec3 Bfield(Vec3 x, Vec3 B)
Bfield
in class BaseObject
x
- the position of the observerB
- the magnetic field at the position of the observer due to the line dipole at p (calculated)
public Vec3 Efield(Vec3 x, Vec3 E)
Efield
in class BaseObject
x
- the position of the observerE
- the electric field at the observer's position if the monopope is at p (calculated)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |