|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.experiments.BaseExperiment
simulations.experiments.faradaysLaw.RecedingImageExperiment
Receeding Image experiment calculates the magnetic fields when a monopole appears at t = 0 above a conducting plane. The field of the monopole subsequently diffuses into the region below the conducting plane, using the method of Saslow and Maxwell. This object computes the evolution of the system and also generates an EMSource that computes the E&M fields of the system.
Nested Class Summary | |
class |
RecedingImageExperiment.Motion
|
Field Summary | |
private EMCollection |
collection
The collection of the three monopoles. |
RecedingImageExperiment.Motion |
equations
|
double |
H
The height of the monople above z = 0. |
private RungeKuttaIntegration |
integrator
|
MagneticMonopole |
mono
The real magnetic monopole. |
MagneticMonopole |
monominus
The monopole whose field vanishes for z > 0. |
MagneticMonopole |
monoplus
The monopole whose field vanishes for z < 0. |
double |
offset
The overall time offset before the image charges start moving. |
double |
q0
The magnetic charge. |
double |
t
The time. |
double |
v0
The speed of the receeding monopoles once they start receeding. |
Fields inherited from class simulations.experiments.BaseExperiment |
eps, FieldMotionType, FieldType, FluidFlowSpeed, Fnorm, Fpower, numberSmallSteps |
Constructor Summary | |
RecedingImageExperiment(double H,
double q0,
double v0,
double offset)
Constructs an instance of the experiment using the given parameters. |
Method Summary | |
void |
ConstructEMSource()
Constructs the EMCollection representing the experiment consisting of the three monopoles, the real monopole and the two receeding image monopoles |
void |
Evolve(double dt)
Evolves the experiment by a time step "dt" using an RK4 integrator |
void |
Evolve(double dt,
double maxStep)
Evolve the experiment by a time step "dt" using an integrator. |
BaseObject |
getEMSource()
An EMSource that represents the current experimental state that can be used to compute the current E&M fields. |
double |
getFlowSpeed(Vec3 r,
Vec RegionFlow)
Method to find the flow speed in a given region when we are determining that speed according to region. |
double |
getHue(double TargetHue,
Vec3 r,
Vec RegionColor)
Method to find the hue in a given region when we are coloring according to region (Color Mode 4). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double H
public double t
public double offset
public double q0
public double v0
public MagneticMonopole mono
public MagneticMonopole monoplus
public MagneticMonopole monominus
private EMCollection collection
private RungeKuttaIntegration integrator
public RecedingImageExperiment.Motion equations
Constructor Detail |
public RecedingImageExperiment(double H, double q0, double v0, double offset)
H
- The height of the monopole above z = 0.q0
- The monopole charge.offset
- The frame offset before image charges begin moving.v0
- The speed of the receding charge once it starts receding.Method Detail |
public void ConstructEMSource()
ConstructEMSource
in class BaseExperiment
public BaseObject getEMSource()
getEMSource
in class BaseExperiment
public void Evolve(double dt)
Evolve
in class BaseExperiment
public void Evolve(double dt, double maxStep)
maxStep
- The maximum step allowed.dt
- The time step.public double getHue(double TargetHue, Vec3 r, Vec RegionColor)
getHue
in class BaseExperiment
TargetHue
- This is the target hue from the renderer.r
- This is the vector postion of the point in the image.RegionColor
- This is the varous hues for the regions.
public double getFlowSpeed(Vec3 r, Vec RegionFlow)
getFlowSpeed
in class BaseExperiment
r
- This is the vector postion of the point in the image.RegionFlow
- This is the flow speeds for the regions.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |