org.apache.commons.math.ode
Class GillIntegrator

java.lang.Object
  extended by org.apache.commons.math.ode.RungeKuttaIntegrator
      extended by org.apache.commons.math.ode.GillIntegrator
All Implemented Interfaces:
FirstOrderIntegrator

public class GillIntegrator
extends RungeKuttaIntegrator

This class implements the Gill fourth order Runge-Kutta integrator for Ordinary Differential Equations .

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 | (q-1)/2  (2-q)/2    0      0
    1  |    0       -q/2  (2+q)/2   0
       |-------------------------------
       |   1/6    (2-q)/6 (2+q)/6  1/6
 
where q = sqrt(2)

Since:
1.2
Version:
$Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
See Also:
EulerIntegrator, ClassicalRungeKuttaIntegrator, MidpointIntegrator, ThreeEighthesIntegrator

Field Summary
private static double[][] a
          Internal weights Butcher array.
private static double[] b
          Propagation weights Butcher array.
private static double[] c
          Time steps Butcher array.
private static java.lang.String methodName
          Integrator method name.
 
Fields inherited from class org.apache.commons.math.ode.RungeKuttaIntegrator
switchesHandler
 
Constructor Summary
GillIntegrator(double step)
          Simple constructor.
 
Method Summary
 java.lang.String getName()
          Get the name of the method.
 
Methods inherited from class org.apache.commons.math.ode.RungeKuttaIntegrator
addSwitchingFunction, getCurrentSignedStepsize, getCurrentStepStart, getStepHandler, integrate, setStepHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodName

private static final java.lang.String methodName
Integrator method name.

See Also:
Constant Field Values

c

private static final double[] c
Time steps Butcher array.


a

private static final double[][] a
Internal weights Butcher array.


b

private static final double[] b
Propagation weights Butcher array.

Constructor Detail

GillIntegrator

public GillIntegrator(double step)
Simple constructor. Build a fourth-order Gill integrator with the given step.

Parameters:
step - integration step
Method Detail

getName

public java.lang.String getName()
Get the name of the method.

Specified by:
getName in interface FirstOrderIntegrator
Specified by:
getName in class RungeKuttaIntegrator
Returns:
name of the method