|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.numerics.rk.AbstractExplicitRKSolverInterpolator org.opensourcephysics.numerics.rk.AbstractAdaptiveRKSolverInterpolator org.opensourcephysics.numerics.rk.CashKarp45
public class CashKarp45
Title: CashKarp45 Description: Cash-Karp 4th and 5th solver with local extrapolation
Constructor Summary | |
---|---|
CashKarp45(ODE _ode)
|
Method Summary | |
---|---|
double[] |
interpolate(double _time,
boolean useLeftApproximation,
double[] _state)
Returns the value of the ODE's state[] at the given time in the provided state[] array. |
Methods inherited from class org.opensourcephysics.numerics.rk.AbstractAdaptiveRKSolverInterpolator |
---|
reinitialize, setEstimateFirstStep, setMaximumStepSize, setTolerances, setTolerances |
Methods inherited from class org.opensourcephysics.numerics.rk.AbstractExplicitRKSolverInterpolator |
---|
bestInterpolate, getCounter, getCurrentRate, getInternalStepSize, getMaximumTime, getODE, getStateMemory, getStepSize, initialize, internalStep, interpolate, interpolate, setMemoryLength, setStepSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CashKarp45(ODE _ode)
Method Detail |
---|
public double[] interpolate(double _time, boolean useLeftApproximation, double[] _state)
ODESolverInterpolator
interpolate
in interface ODESolverInterpolator
interpolate
in class AbstractExplicitRKSolverInterpolator
_time
- the time for the interpolation desireduseLeftApproximation
- In case of doubt, approximate the value from the left (this is important if the state has a discontinuity at that instant of time, such as for DDEs)_state
- placeholder for the returned state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |