|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.controls.AbstractAnimation
org.opensourcephysics.controls.AbstractSimulation
org.opensourcephysics.sip.ch13.cluster.SingleClusterApp
public class SingleClusterApp
Creates percolation cluster with probability p and computes mass distribution.
| 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 | |
|---|---|
SingleClusterApp()
|
|
| Method Summary | |
|---|---|
void |
doStep()
Does an animation step. |
void |
initialize()
Initializes the simulation. |
static void |
main(java.lang.String[] args)
|
void |
reset()
Resets the simulation to its default state. |
void |
stopRunning()
Performs an action after executing one or more animation steps. |
| 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, 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 |
|---|
public SingleClusterApp()
| Method Detail |
|---|
public void initialize()
AbstractSimulation
initialize in class AbstractSimulationpublic void doStep()
AbstractAnimation
doStep in class AbstractAnimationpublic void stopRunning()
AbstractSimulation
stopRunning in class AbstractSimulationpublic void reset()
AbstractSimulation
reset in class AbstractSimulationpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||