org.opensourcephysics.sip.ch13.cca
Class CCAApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractAnimation
      extended by org.opensourcephysics.controls.AbstractSimulation
          extended by org.opensourcephysics.sip.ch13.cca.CCAApp
All Implemented Interfaces:
java.lang.Runnable, Animation, Simulation

public class CCAApp
extends AbstractSimulation

CCAApp models Cluster-Cluster Aggregation


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractSimulation
control, showStepsPerDisplay, stepCounter, stepsPerDisplay
 
Fields inherited from class org.opensourcephysics.controls.AbstractAnimation
animationThread, decimalFormat, delayTime, mainFrame
 
Constructor Summary
CCAApp()
           
 
Method Summary
 void distribution()
          Computes the distribution.
 void doStep()
          Does a simulation step.
 void initialize()
          initialize animation
static void main(java.lang.String[] args)
          start application
 void reset()
          Resets the simulation.
 
Methods inherited from class org.opensourcephysics.controls.AbstractSimulation
enableStepsPerDisplay, getControl, getLoader, getStepCounter, getStepsPerDisplay, initializeAnimation, resetAnimation, run, setControl, setStepsPerDisplay, start, startAnimation, startRunning, startSimulation, stepAnimation, stop, stopAnimation, stopRunning, stopSimulation
 
Methods inherited from class org.opensourcephysics.controls.AbstractAnimation
addChildFrame, clearChildFrames, getChildFrames, getDelayTime, getMainFrame, getOSPApp, isRunning, setDelayTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensourcephysics.controls.Simulation
isRunning
 

Constructor Detail

CCAApp

public CCAApp()
Method Detail

initialize

public void initialize()
initialize animation

Overrides:
initialize in class AbstractSimulation

doStep

public void doStep()
Does a simulation step.

Specified by:
doStep in class AbstractAnimation

distribution

public void distribution()
Computes the distribution.


reset

public void reset()
Resets the simulation.

Overrides:
reset in class AbstractSimulation

main

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

Parameters:
args -