Class ClassicalRungeKuttaIntegrator

  extended by org.apache.commons.math3.ode.AbstractIntegrator
      extended by org.apache.commons.math3.ode.nonstiff.RungeKuttaIntegrator
          extended by org.apache.commons.math3.ode.nonstiff.ClassicalRungeKuttaIntegrator
All Implemented Interfaces:
FirstOrderIntegrator, ODEIntegrator

public class ClassicalRungeKuttaIntegrator
extends RungeKuttaIntegrator

This class implements the classical fourth order Runge-Kutta integrator for Ordinary Differential Equations (it is the most often used Runge-Kutta method).

This method is an explicit Runge-Kutta method, its Butcher-array is the following one :

    0  |  0    0    0    0
   1/2 | 1/2   0    0    0
   1/2 |  0   1/2   0    0
    1  |  0    0    1    0
       | 1/6  1/3  1/3  1/6

$Id: 1416643 2012-12-03 19:37:14Z tn $
See Also:
EulerIntegrator, GillIntegrator, MidpointIntegrator, ThreeEighthesIntegrator

Field Summary
Fields inherited from class org.apache.commons.math3.ode.AbstractIntegrator
isLastStep, resetOccurred, stepHandlers, stepSize, stepStart
Constructor Summary
ClassicalRungeKuttaIntegrator(double step)
          Simple constructor.
Method Summary
Methods inherited from class org.apache.commons.math3.ode.nonstiff.RungeKuttaIntegrator
Methods inherited from class org.apache.commons.math3.ode.AbstractIntegrator
acceptStep, addEventHandler, addEventHandler, addStepHandler, clearEventHandlers, clearStepHandlers, computeDerivatives, getCurrentSignedStepsize, getCurrentStepStart, getEvaluations, getEvaluationsCounter, getEventHandlers, getExpandable, getMaxEvaluations, getName, getStepHandlers, initIntegration, integrate, sanityChecks, setEquations, setMaxEvaluations, setStateInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ClassicalRungeKuttaIntegrator(double step)
Simple constructor. Build a fourth-order Runge-Kutta integrator with the given step.

step - integration step

Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.