|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.ElectricDipole
simulations.objects.ElectricOscillatingDipole
An extension of the ElectricDipole class that replaces the constant electric dipole moment with one that is oscillating. We assume that the dipole is fixed in direction along the z-axis, with its magnitude changing as defined below.
Field Summary | |
double |
omega
The angular frequency of the oscillating dipole |
double |
p0
The constant part of the dipole moment of the oscillating dipole |
double |
p1
The sinusoidal part of the dipole moment of the oscillating dipole |
double |
phase
The phase shift in the sinusoidal time depedence of the oscillating dipole |
Fields inherited from class simulations.objects.ElectricDipole |
p, t, v, x |
Constructor Summary | |
ElectricOscillatingDipole(Vec3 x,
Vec3 p,
double p0,
double p1,
double omega,
double phase)
Constructs an ElectricOscillatingDipole centered at "x" at t = 0. |
Method Summary | |
Vec3 |
getDDP(double dt)
Returns the second time derivative of the dipole moment at a time retarded by dt. |
Vec3 |
getDP(double dt)
Returns the first time derivative of the dipole moment at a time retarded by dt We use the method getT to find out the current time of the dipole |
Vec3 |
getP(double dt)
Returns the dipole moment at a time retarded by dt. |
Methods inherited from class simulations.objects.ElectricDipole |
Bfield, Efield, Evolve, getT |
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 double p0
public double p1
public double omega
public double phase
Constructor Detail |
public ElectricOscillatingDipole(Vec3 x, Vec3 p, double p0, double p1, double omega, double phase)
Method Detail |
public Vec3 getP(double dt)
getP
in class ElectricDipole
public Vec3 getDP(double dt)
getDP
in class ElectricDipole
public Vec3 getDDP(double dt)
getDDP
in class ElectricDipole
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |