Class RK45ODEInt

java.lang.Object
  |
  +--ODEIntegrator
        |
        +--RK45ODEInt

public class RK45ODEInt
extends ODEIntegrator

RK45ODEInt - fifth-order Runge-Kutta ODE Integrator with monitoring of local truncation error to ensure accuracy and adjust stepsize.


Fields inherited from class ODEIntegrator
dxsav, dydx, eps, h1, hdid, hmin, hnext, intObj, kmax, kount, maxstp, nbad, nok, nvar, x, xp, y, yp, yscal
 
Constructor Summary
RK45ODEInt(ODEIntegratable intObj, int nvar)
          RK45ODEInt constructor assuming no intermediate result vector storage
RK45ODEInt(ODEIntegratable intObj, int nvar, int kmax)
           
 
Method Summary
protected  void step(double htry)
          step - fifth-order Runge-Kutta step with monitoring of local truncation error to ensure accuracy and adjust stepsize.
 
Methods inherited from class ODEIntegrator
integrate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RK45ODEInt

public RK45ODEInt(ODEIntegratable intObj,
                  int nvar)
RK45ODEInt constructor assuming no intermediate result vector storage
Parameters:
intObj - odeint.ODEIntegratable
nvar - int

RK45ODEInt

public RK45ODEInt(ODEIntegratable intObj,
                  int nvar,
                  int kmax)
Parameters:
intObj - odeint.ODEIntegratable
nvar - int
kmax - int
Method Detail

step

protected void step(double htry)
             throws ODEIntException
step - fifth-order Runge-Kutta step with monitoring of local truncation error to ensure accuracy and adjust stepsize.
Parameters:
htry - - suggested stepsize from driver method
Overrides:
step in class ODEIntegrator