|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.experiments.BaseExperiment
simulations.experiments.faradaysLaw.MovingRecedingImagePotentialExperiment
Receeding Image experiment, consisting of a monopole appearing at t =0 above a conducting plane, using the method of Saslow. This object computes the evolution of the system and also generates an EMSource that computes the E&M fields of the system. The evolution is computed in terms of dimensionless variables and then converted to "real" units. This version of the program calculates the magnetic fields using the magnetic potential function instead of monopoles and line dipoles (see equation (8) of Liu and Belcher 2007).
Nested Class Summary | |
class |
MovingRecedingImagePotentialExperiment.Motion
Specifies the time derivative of the parmeters which describe the experiment at any time t. |
Field Summary | |
MovingRecedingImagePotentialAbove |
above
the potential whose field vanishes for z < 0 |
MovingRecedingImagePotentialBelow |
below
the potential whose field vanishes for z > 0 |
private EMCollection |
collection
the collection of the monopole plus the two potential function |
MovingRecedingImagePotentialExperiment.Motion |
equations
Define the evolution equations used by the RK4 integrator |
double |
H
H = height of the monople above z = 0 |
private RungeKuttaIntegration |
integrator
define the integraton scheme used to numerically integrate the evolution equations in time |
MagneticMonopole |
mono
the real magnetic monopole |
double |
offset
offset is an overall time offset before the image charges start moving |
double |
q0
q0 is the magnetic charge |
double |
t
the time |
double |
v
v is the horizontal speed of the monopole |
double |
v0
v0 is the vertical speed of the receeding monopoles once they start receeding |
double |
zplane
zplane is the location in z of the conducting thin sheet |
Fields inherited from class simulations.experiments.BaseExperiment |
eps, FieldMotionType, FieldType, FluidFlowSpeed, Fnorm, Fpower, numberSmallSteps |
Constructor Summary | |
MovingRecedingImagePotentialExperiment(double H,
double q0,
double v0,
double v,
double zplane,
double offset)
Constructs an instance of the experiment using the given parameters. |
Method Summary | |
void |
ConstructEMSource()
constructs the EM source consisting of a number of BaseObjects and adds them to the EMCollection for this experiment |
void |
Evolve(double dt)
Evolves the experiment by a time step "dt" using an RK4 integrator by taking numberSmallSteps between t and t + dt, for accuracy. |
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 zplane
public double q0
public double v0
public double v
public MagneticMonopole mono
public MovingRecedingImagePotentialAbove above
public MovingRecedingImagePotentialBelow below
private EMCollection collection
public MovingRecedingImagePotentialExperiment.Motion equations
private RungeKuttaIntegration integrator
Constructor Detail |
public MovingRecedingImagePotentialExperiment(double H, double q0, double v0, double v, double zplane, double offset)
H
- the height of the monopole above z = 0offset
- the frame offset before image charges begin movingq0
- the magnetic chargev
- the horizontal speed of the monopolev0
- the speed of the receeding imagezplane
- the height of the conducting plane above z = 0Method Detail |
public void ConstructEMSource()
BaseExperiment
ConstructEMSource
in class BaseExperiment
public BaseObject getEMSource()
getEMSource
in class BaseExperiment
public void Evolve(double dt, double maxStep)
maxStep
- the maximum step alloweddt
- the time steppublic void Evolve(double dt)
Evolve
in class BaseExperiment
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 |