Documentation of 'org.spaceroots.mantissa.ode.RungeKuttaIntegrator' Java class
RungeKuttaIntegrator
org.spaceroots.mantissa.ode

Class RungeKuttaIntegrator

  • All Implemented Interfaces:
    FirstOrderIntegrator
    Direct Known Subclasses:
    ClassicalRungeKuttaIntegrator, EulerIntegrator, GillIntegrator, MidpointIntegrator, ThreeEighthesIntegrator


    public abstract class RungeKuttaIntegrator
    extends java.lang.Object
    implements FirstOrderIntegrator
    This class implements the common part of all fixed step Runge-Kutta integrators for Ordinary Differential Equations.

    These methods are explicit Runge-Kutta methods, their Butcher arrays are as follows :

        0  |
       c2  | a21
       c3  | a31  a32
       ... |        ...
       cs  | as1  as2  ...  ass-1
           |--------------------------
           |  b1   b2  ...   bs-1  bs
     

    Some methods are qualified as fsal (first same as last) methods. This means the last evaluation of the derivatives in one step is the same as the first in the next step. Then, this evaluation can be reused from one step to the next one and the cost of such a method is really s-1 evaluations despite the method still has s stages. This behaviour is true only for successful steps, if the step is rejected after the error estimation phase, no evaluation is saved. For an fsal method, we have cs = 1 and asi = bi for all i.

    See Also:
    EulerIntegrator, ClassicalRungeKuttaIntegrator, GillIntegrator, MidpointIntegrator

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.