|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.numerics.ODEMultistepSolver.InternalODE
protected final class ODEMultistepSolver.InternalODE
A class that saves an internal state that may be different from the orginal ODE. This internal state is used with interpolation solvers.
Method Summary | |
---|---|
void |
getRate(double[] state,
double[] rate)
Gets the rate using the given state. |
double[] |
getState()
Gets the state. |
void |
setInitialConditions()
Sets the initial conditions using the current state of the ODE. |
void |
update()
updates the ODE state using the engine's internal state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void getRate(double[] state, double[] rate)
getRate
in interface ODE
state
- double[]rate
- double[]public double[] getState()
getState
in interface ODE
public void setInitialConditions()
public void update()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |