simulations.objects
Class Line3DMagneticDipoles

java.lang.Object
  extended bysimulations.objects.BaseObject
      extended bysimulations.objects.Line3DMagneticDipoles

public class Line3DMagneticDipoles
extends BaseObject

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

mdipole

public Vec3 mdipole
the magnetic dipole moment per unit length vector of the line of dipoles


tline

public Vec3 tline
A unit vector along the axis of the line of dipoles


p

public Vec3 p
the position of the beginning of the line of dipoles


v

public Vec3 v
Velocity of the line of magnetic dipoles


zplane

public double zplane
The location of the thin conducting sheet in z


image

public int image
image charge parameter for line of dipoles. If image = 0 this is just a normal line of dipoles; if image = 1 then this is a line dipole whose magnetic and electric fields are non-zero only for observers with z > 0; if image = -1 then this is a line dipole whose magnetic and electric fields are non-zero for observers with z < 0

Constructor Detail

Line3DMagneticDipoles

public Line3DMagneticDipoles(Vec3 mdipole,
                             Vec3 tline,
                             Vec3 p,
                             Vec3 v,
                             double zplane,
                             int image)
constructor for the line of dipoles

Parameters:
mdipole - the magnetic dipole moment per unit length
tline - 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

Bfield

public Vec3 Bfield(Vec3 x,
                   Vec3 B)
the magnetic field of a non-relativistic line of moving magnetic dipoles

Specified by:
Bfield in class BaseObject
Parameters:
x - the position of the observer
B - the magnetic field at the position of the observer due to the line dipole at p (calculated)
Returns:
B the magnetic field at the position of the observer due to the line dipole at p (calculated)

Efield

public Vec3 Efield(Vec3 x,
                   Vec3 E)
the electric field of a moving monopole

Specified by:
Efield in class BaseObject
Parameters:
x - the position of the observer
E - the electric field at the observer's position if the monopope is at p (calculated)
Returns:
zero for a stationary charge

toString

public java.lang.String toString()
writes properties of the point charge to a string