Package org.opensourcephysics.numerics
Class ODEMultistepSolver.InternalODE
java.lang.Object
org.opensourcephysics.numerics.ODEMultistepSolver.InternalODE
- All Implemented Interfaces:
ODE
- Enclosing class:
- ODEMultistepSolver
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
-
Method Details
-
getRate
public void getRate(double[] state, double[] rate) Gets the rate using the given state. -
getState
public double[] getState()Gets the state. -
setInitialConditions
public void setInitialConditions()Sets the initial conditions using the current state of the ODE. -
update
public void update()updates the ODE state using the engine's internal state.
-