|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.objects.BaseObject
simulations.objects.HelioField
Field Summary | |
Vec3 |
p
the position of the sun |
double |
radius
shortest distance to the bow shock |
Constructor Summary | |
HelioField(double radius,
Vec3 p)
constructor |
Method Summary | |
Vec3 |
Bfield(Vec3 x,
Vec3 B)
the magnetic field (zero) |
Vec3 |
Efield(Vec3 x,
Vec3 E)
inverse distance squared field |
private static void |
println(java.lang.String s)
A local way to print a string |
java.lang.String |
toString()
writes properties of the HelioField to a string |
Methods inherited from class simulations.objects.BaseObject |
Bfield, Efield, Evolve, Pfield, Pfield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double radius
public Vec3 p
Constructor Detail |
public HelioField(double radius, Vec3 p)
radius
- The distance to the termination shock.p
- The position of the Sun.Method Detail |
public Vec3 Efield(Vec3 x, Vec3 E)
Efield
in class BaseObject
x
- the position of the observerE
- the electric field at the position of the observer
public Vec3 Bfield(Vec3 x, Vec3 B)
Bfield
in class BaseObject
x
- the position of the observerB
- the magnetic field at the observer's position if the charge is at p (calculated)
private static void println(java.lang.String s)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |