simulations.experiments.electrostatics
Class ChargeInFieldExperiment.Motion

java.lang.Object
  extended bycore.field.VecTimeField
      extended bysimulations.experiments.electrostatics.ChargeInFieldExperiment.Motion
Enclosing class:
ChargeInFieldExperiment

public class ChargeInFieldExperiment.Motion
extends VecTimeField

the equation of motion for a charge in an electric field


Constructor Summary
ChargeInFieldExperiment.Motion()
           
 
Method Summary
 Vec get(Vec p, double t, Vec v)
          Sets "v" to the value of the field at "p" at time "t".
 
Methods inherited from class core.field.VecTimeField
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargeInFieldExperiment.Motion

public ChargeInFieldExperiment.Motion()
Method Detail

get

public Vec get(Vec p,
               double t,
               Vec v)
Description copied from class: VecTimeField
Sets "v" to the value of the field at "p" at time "t". "p" is not modified Returns: resulting "v"

Specified by:
get in class VecTimeField