|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.ElectricAntenna
This BaseObject calculates the electric and magnetic fields of a linear antenna with the properties specified.
| Field Summary | |
double |
ak
The product of the length of the antenna and the wavenumber divided by 2. |
double |
k
The wavenumber of the radiation produced. |
double |
ta
The time. |
double |
w
The angular frequency of the radiation produced. |
Vec3 |
x
The position of the antenna. |
| Constructor Summary | |
ElectricAntenna(Vec3 x,
double k,
double ak,
double w,
double ta)
constructor for the linear antenna |
|
| Method Summary | |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
The magnetic field of the linear antenna. |
Vec3 |
Efield(Vec3 x,
Vec3 E)
The electric field of the linear antenna. |
void |
Evolve(double dt)
Evolves the object by the amount of time 'dt'. |
| 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 double k
public double ak
public double w
public double ta
| Constructor Detail |
public ElectricAntenna(Vec3 x,
double k,
double ak,
double w,
double ta)
x - The position of the antenna.k - The wavenumber of the radiation.ak - The product of the length of the antenna and the wavenumber divided by 2.w - The angular frequency of the radiation.ta - The time.| Method Detail |
public void Evolve(double dt)
BaseObject
Evolve in class BaseObjectdt - the time step
public Vec3 Efield(Vec3 x,
Vec3 E)
Efield in class BaseObjectx - The position of the observer.E - The electric field at the position of the observer.
public Vec3 Bfield(Vec3 x,
Vec3 B)
Bfield in class BaseObjectx - The position of the observer.B - The magnetic field at the position of the observer.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||