- Enclosing class:
- private class HeliosphereFlowExperiment.Motion
- extends VecTimeField
The equation of motion governing the evolution of the system
Given the state of the system p at time t, computes its first time derivatives and puts
them in v, and returns v.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Vec get(Vec p,
- Given the state of the system p at time t, computes its first time derivatives and puts
them in v, and returns v. The vector p is the position (p.x) and speed (p.x) of the charge
moving along the z-axis , v.x = p.x, and v.x is the acceleration, and is computed
from the coulomb force between the two charges.
- Specified by:
get in class
p - the position (first location p.x) and the speed (second location p.x) of
the moving charge.
t - the time
v - the derivative of the p vector--so v.x is the speed and v.x is the acceleration, as
calculated using Coubomb's law for the force betweeen the charges.