org.jscience.mathematics.analysis.ode
Class ThreeEighthesIntegrator

java.lang.Object
  extended by org.jscience.mathematics.analysis.ode.RungeKuttaIntegrator
      extended by org.jscience.mathematics.analysis.ode.ThreeEighthesIntegrator
All Implemented Interfaces:
FirstOrderIntegrator, Named

public class ThreeEighthesIntegrator
extends RungeKuttaIntegrator
implements Named

This class implements the 3/8 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/3 | 1/3   0    0    0
   2/3 |-1/3   1    0    0
    1  |  1   -1    1    0
       |--------------------
       | 1/8  3/8  3/8  1/8
 

See Also:
EulerIntegrator, ClassicalRungeKuttaIntegrator, GillIntegrator, MidpointIntegrator

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.ode.RungeKuttaIntegrator
switchesHandler
 
Constructor Summary
ThreeEighthesIntegrator(double step)
          Simple constructor.
 
Method Summary
 java.lang.String getName()
          Get the name of the method.
 
Methods inherited from class org.jscience.mathematics.analysis.ode.RungeKuttaIntegrator
addSwitchingFunction, getStepHandler, integrate, setStepHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreeEighthesIntegrator

public ThreeEighthesIntegrator(double step)
Simple constructor. Build a 3/8 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 interface Named
Specified by:
getName in class RungeKuttaIntegrator
Returns:
name of the method