org.opensourcephysics.numerics
Class RK45

java.lang.Object
  extended by org.opensourcephysics.numerics.DormandPrince45
      extended by org.opensourcephysics.numerics.RK45
All Implemented Interfaces:
ODEAdaptiveSolver, ODESolver
Direct Known Subclasses:
RK45MultiStep

public class RK45
extends DormandPrince45

RK45 implements an Runge-Kutta 4/5 ODE solver with variable step size. This RK45 class may be changed in future versions of the OSP library. Version 1.0 of the libarary uses Dormand-Prince coefficients.

Version:
1.0
See Also:
DormandPrince45, CashKarp45

Field Summary
 
Fields inherited from class org.opensourcephysics.numerics.DormandPrince45
enableExceptions, tol
 
Fields inherited from interface org.opensourcephysics.numerics.ODEAdaptiveSolver
BISECTION_EVENT_NOT_FOUND, DID_NOT_CONVERGE, NO_ERROR
 
Constructor Summary
RK45(ODE ode)
          Constructor RK45
 
Method Summary
 
Methods inherited from class org.opensourcephysics.numerics.DormandPrince45
enableRuntimeExpecptions, getErrorCode, getStepSize, getTolerance, initialize, setStepSize, setTolerance, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RK45

public RK45(ODE ode)
Constructor RK45

Parameters:
ode -