|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.experiments.BaseExperiment
simulations.experiments.fluidFlow.HeliosphereFlowExperiment
Heliosphere flow experiment.
Nested Class Summary | |
private class |
HeliosphereFlowExperiment.Motion
The equation of motion governing the evolution of the system |
Field Summary | |
private EMCollection |
collection
The sum of these two flow fields. |
private HeliosphereFlowExperiment.Motion |
equations
The equation of motion for the system (just Coulomb repulsion) |
private HelioField |
hfield
|
private ISMfield |
ifield
|
private RungeKuttaIntegration |
integrator
The integrator used to evolve the system |
private double |
radiusBowShock
The radius of the Bow Shock |
private double |
radiusTerminationShock
The radius of the termination shock. |
private double |
t
The time t |
private Vec3 |
Xsun
The position of the Sun. |
Fields inherited from class simulations.experiments.BaseExperiment |
eps, FieldMotionType, FieldType, FluidFlowSpeed, Fnorm, Fpower, numberSmallSteps |
Constructor Summary | |
HeliosphereFlowExperiment(double radiusBowShock,
double radiusTerminationShock,
Vec3 Xsun)
Constructs the heliosphere using two parameters |
Method Summary | |
void |
ConstructEMSource()
Construct the EMColletion object which is the sum of the two charges |
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)
Evolves the experiment a time step dt |
BaseObject |
getEMSource()
Returns the BaseObject that is the collection of the two point charges |
double |
getFlowSpeed(Vec3 r,
Vec RegionFlow)
|
double |
getHue(double TargetHue,
Vec3 r,
Vec RegionColor)
|
private static void |
println(java.lang.String s)
A local way to print a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private double radiusBowShock
private double radiusTerminationShock
private Vec3 Xsun
private double t
private ISMfield ifield
private HelioField hfield
private EMCollection collection
private HeliosphereFlowExperiment.Motion equations
private RungeKuttaIntegration integrator
Constructor Detail |
public HeliosphereFlowExperiment(double radiusBowShock, double radiusTerminationShock, Vec3 Xsun)
radiusBowShock
- Radius of the bow shock.radiusTerminationShock
- Radius of the termination shock.Xsun
- The position of the sun.Method Detail |
public void ConstructEMSource()
ConstructEMSource
in class BaseExperiment
public BaseObject getEMSource()
getEMSource
in class BaseExperiment
public void Evolve(double dt, double maxStep)
public double getHue(double TargetHue, Vec3 r, Vec RegionColor)
getHue
in class BaseExperiment
public double getFlowSpeed(Vec3 r, Vec RegionFlow)
getFlowSpeed
in class BaseExperiment
public void Evolve(double dt)
Evolve
in class BaseExperiment
private static void println(java.lang.String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |