|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.ElectricDipole
This is a quasi-static electric dipole moving at constant velocity that can be extended to a time varying radiating electric dipole (see for example ElectricOscillatingDipole). In this routine we set the time derivative and the second time derivative of the dipole moment vector to zero, even though we have in the expressions for the electric and magnetic field the full radiation correct terms for a point electric dipole. To do radiaton terms we have to put in correct expressions for the time derivatives of the dipole moment, as in ElectricOscillatingDipole. Important note: for color coding purposes, where we want to color code the DLIC according to the magnitude of the electric field, we multiply the overall electric field of this dipole by one factor of the radius and scale it by 1/100. If you want this dipole to interact with other electromagnetic objects you must compensate for this!!!!
Field Summary | |
Vec3 |
p
The dipole moment of the dipole. |
double |
t
The time. |
Vec3 |
v
The constant velocity of the dipole. |
Vec3 |
x
The position of the dipole. |
Constructor Summary | |
ElectricDipole(Vec3 x,
Vec3 p)
Create an electric dipole with zero velocity at t = 0. |
|
ElectricDipole(Vec3 x,
Vec3 v,
Vec3 p)
Create an electric dipole with non-zero velocity at t = 0. |
Method Summary | |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
Compute the magnetic field at position x and time t |
Vec3 |
Efield(Vec3 x,
Vec3 E)
Compute the electric field at position x and time t |
void |
Evolve(double dt)
Evolve the dipole time and position. |
Vec3 |
getDDP(double dtretarded)
Get the second time derivative of dipole moment vector of the dipole. |
Vec3 |
getDP(double dtretarded)
Get the time derivative of dipole moment vector of the dipole. |
Vec3 |
getP(double dtretarded)
Get the dipole moment vector. |
double |
getT()
Get the time. |
Methods inherited from class simulations.objects.BaseObject |
Bfield, Efield, Pfield, Pfield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Vec3 x
public Vec3 v
public Vec3 p
public double t
Constructor Detail |
public ElectricDipole(Vec3 x, Vec3 p)
public ElectricDipole(Vec3 x, Vec3 v, Vec3 p)
Method Detail |
public double getT()
public Vec3 getP(double dtretarded)
public Vec3 getDP(double dtretarded)
public Vec3 getDDP(double dtretarded)
public void Evolve(double dt)
Evolve
in class BaseObject
dt
- the time steppublic Vec3 Efield(Vec3 x, Vec3 E)
Efield
in class BaseObject
x
- the position of the observerE
- the electric field at the observer's position
public Vec3 Bfield(Vec3 x, Vec3 B)
Bfield
in class BaseObject
B
- the magnetic field at the observer's position
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |