|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.sip.ch03.FallingParticleODE
public class FallingParticleODE
FallingParticleODE models a falling particle by implementing the ODE interface.
| Constructor Summary | |
|---|---|
FallingParticleODE(double y,
double v)
Constructs the FallingParticleODE model with the given intial postion and velocity. |
|
| Method Summary | |
|---|---|
void |
getRate(double[] state,
double[] rate)
Gets the rate array. |
double[] |
getState()
Gets the state array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FallingParticleODE(double y,
double v)
y - doublev - double| Method Detail |
|---|
public double[] getState()
getState in interface ODE
public void getRate(double[] state,
double[] rate)
getRate in interface ODEstate - double[]rate - double[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||