|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.PointCharge
simulations.objects.MovingPointCharge
Calculates the fields of a moving point charge (extends PointCharge)
Field Summary | |
Vec3 |
a
acceleration of the charge. |
double |
power
the radial dependence of the Pauli repulsive force |
Vec3 |
v
Velocity of the charge |
Fields inherited from class simulations.objects.PointCharge |
m, p, q, radius |
Constructor Summary | |
MovingPointCharge(double q,
Vec3 p)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
double radius)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
double radius,
double power)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
double radius,
double power,
Vec3 v)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
double radius,
double power,
Vec3 v,
Vec3 a)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
double radius,
Vec3 v)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
Vec3 v)
Constructor for the moving point charge. |
|
MovingPointCharge(double q,
Vec3 p,
Vec3 v,
Vec3 a)
Constructor for the moving point charge. |
Method Summary | |
void |
Acceleration(Vec3 a)
Sets the acceleration |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
the non-relativistic magnetic field of a moving point charge (v x E ) |
Vec3 |
Efield(Vec3 x,
Vec3 E)
the non-relativistic electric field of a moving point charge |
void |
Evolve(double dt)
Evolves the position and velocity of the charge. |
Vec3 |
Pfield(Vec3 x,
Vec3 P)
The Pauli field of a moving point charge. |
java.lang.String |
toString()
prints a string with the properties of the moving point charge |
Methods inherited from class simulations.objects.BaseObject |
Bfield, Efield, Pfield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public Vec3 v
public Vec3 a
public double power
Constructor Detail |
public MovingPointCharge(double q, Vec3 p, double radius)
q
- the chargep
- the position of the chargeradius
- the Pauli radius of the chargepublic MovingPointCharge(double q, Vec3 p, double radius, double power)
q
- the chargep
- the position of the chargeradius
- the Pauli radius of the chargepower
- the radial dependence of the Pauli repulsionpublic MovingPointCharge(double q, Vec3 p, double radius, Vec3 v)
q
- the chargep
- the position of the chargeradius
- the Pauli radius of the chargev
- the velocity of the chargepublic MovingPointCharge(double q, Vec3 p, double radius, double power, Vec3 v)
q
- the chargep
- the position of the chargeradius
- the Pauli radiuspower
- the radial dependence of the Pauli repulsionv
- the velocity of the chargepublic MovingPointCharge(double q, Vec3 p, double radius, double power, Vec3 v, Vec3 a)
q
- the chargep
- the positionradius
- the radiuspower
- the radial dependence of the Pauli repulsionv
- the velocity of the chargea
- the acceleration of the chargepublic MovingPointCharge(double q, Vec3 p)
q
- the chargep
- the accelerationpublic MovingPointCharge(double q, Vec3 p, Vec3 v)
q
- the chargep
- the positionv
- the velocitypublic MovingPointCharge(double q, Vec3 p, Vec3 v, Vec3 a)
q
- the chargep
- the positionv
- the velocitya
- the accelerationMethod Detail |
public void Evolve(double dt)
Evolve
in class BaseObject
dt
- the time step for the evolutionpublic void Acceleration(Vec3 a)
a
- the accelerationpublic Vec3 Efield(Vec3 x, Vec3 E)
Efield
in class PointCharge
x
- the position of the observerE
- the electric field at the position of the observer due to the charge at p (calculated)
public Vec3 Bfield(Vec3 x, Vec3 B)
Bfield
in class PointCharge
x
- the position of the observerB
- the magnetic field at the observer's position if the charge is at p and its velocity is v (calculated)
public Vec3 Pfield(Vec3 x, Vec3 P)
Pfield
in class BaseObject
x
- the position of the observerP
- the Pauli repulsive field (calculated)
public java.lang.String toString()
toString
in class PointCharge
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |