|
|||||||||
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.ch15.IsingApp
public class IsingApp
IsingApp simulates a two-dimensional Ising model.
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 | |
---|---|
IsingApp()
|
Method Summary | |
---|---|
void |
doStep()
Does an animation step. |
static XML.ObjectLoader |
getLoader()
Returns an XML.ObjectLoader to save and load data for this program. |
void |
initialize()
Initializes the simulation. |
static void |
main(java.lang.String[] args)
|
void |
reset()
Resets the simulation to its default state. |
void |
resetData()
|
void |
startRunning()
Performs an action before executing one or more animation steps. |
void |
stop()
Stops the simulation. |
Methods inherited from class org.opensourcephysics.controls.AbstractSimulation |
---|
enableStepsPerDisplay, getControl, getStepCounter, getStepsPerDisplay, initializeAnimation, resetAnimation, run, setControl, setStepsPerDisplay, start, startAnimation, startSimulation, stepAnimation, 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 |
---|
public IsingApp()
Method Detail |
---|
public void initialize()
AbstractSimulation
initialize
in class AbstractSimulation
public void doStep()
AbstractAnimation
doStep
in class AbstractAnimation
public void stop()
AbstractSimulation
stop
in class AbstractSimulation
public void startRunning()
AbstractSimulation
startRunning
in class AbstractSimulation
public void reset()
AbstractSimulation
reset
in class AbstractSimulation
public void resetData()
public static XML.ObjectLoader getLoader()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |