|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.controls.AbstractCalculation
org.opensourcephysics.sip.ch03.FallingParticleODEApp
public class FallingParticleODEApp
FallingParticleODEApp demonstrates how to use an ODE solver to model a falling particle.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.controls.AbstractCalculation |
|---|
control, decimalFormat, mainFrame |
| Constructor Summary | |
|---|---|
FallingParticleODEApp()
|
|
| Method Summary | |
|---|---|
void |
calculate()
Calculates the time required for an falling particle to reach the ground and prints the result. |
static void |
main(java.lang.String[] args)
Starts the Java application. |
void |
reset()
Resets the program to its initial state. |
| Methods inherited from class org.opensourcephysics.controls.AbstractCalculation |
|---|
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FallingParticleODEApp()
| Method Detail |
|---|
public void calculate()
calculate in interface Calculationcalculate in class AbstractCalculationpublic void reset()
reset in class AbstractCalculationpublic static void main(java.lang.String[] args)
args - command line parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||