|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch06.DampedDrivenPendulum
public class DampedDrivenPendulum
DampedDrivenPendulum models a damped driven pendulum.
Constructor Summary | |
---|---|
DampedDrivenPendulum()
|
Method Summary | |
---|---|
void |
getRate(double[] state,
double[] rate)
Gets the rate using the given state. |
double[] |
getState()
Gets the state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DampedDrivenPendulum()
Method Detail |
---|
public void getRate(double[] state, double[] rate)
getRate
in interface ODE
state
- double[]rate
- double[]public double[] getState()
getState
in interface ODE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |