simulations.animations.electrostatics
Class ChargeMovingAgainstConstantFieldAnimation

java.lang.Object
  extended bysimulations.animations.electrostatics.ChargeMovingAgainstConstantFieldAnimation

public class ChargeMovingAgainstConstantFieldAnimation
extends java.lang.Object

An animation of a point charge moving in a constant electric field. We color code the image so that the field lines connected to the point charge are a different hue than the field lines connected to the charges that produce the constant field. This is an example of Color Mode 4.

Version:
1.0
Author:
John Belcher

Field Summary
(package private) static double dt
          The time step for the evolution of the system.
(package private) static java.lang.String fname
          The file name for the files to be generated, with path.
(package private) static int frames
          The number of frames to be genererated.
(package private) static int height
          The height of the image generated.
(package private) static int streamlen
          The stream integration length.
(package private) static int width
          The width of the image generated.
 
Constructor Summary
ChargeMovingAgainstConstantFieldAnimation()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

static int width
The width of the image generated.


height

static int height
The height of the image generated.


streamlen

static int streamlen
The stream integration length.


fname

static java.lang.String fname
The file name for the files to be generated, with path.


frames

static int frames
The number of frames to be genererated.


dt

static double dt
The time step for the evolution of the system.

Constructor Detail

ChargeMovingAgainstConstantFieldAnimation

public ChargeMovingAgainstConstantFieldAnimation()
Method Detail

main

public static void main(java.lang.String[] args)