Top Description Fields Constructors Methods
org.apache.commons.math3.ode.nonstiff

public Class MidpointIntegrator

extends RungeKuttaIntegrator
Class Inheritance

This class implements a second 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
  1/2 | 1/2   0
      |----------
      |  0    1

Since
1.2
See Also
EulerIntegrator, ClassicalRungeKuttaIntegrator, GillIntegrator, ThreeEighthesIntegrator, LutherIntegrator

Field Summary

Modifier and TypeField and Description
private static final double[][]
STATIC_A

Internal weights Butcher array.

private static final double[]
STATIC_B

Propagation weights Butcher array.

private static final double[]
STATIC_C

Time steps Butcher array.

Constructor Summary

AccessConstructor and Description
public
MidpointIntegrator(final double
integration step
step
)

Simple constructor.

Method Summary

Inherited from org.apache.commons.math3.ode.nonstiff.RungeKuttaIntegrator:
integratesingleStep

Field Detail

STATIC_Aback to summary
private static final double[][] STATIC_A

Internal weights Butcher array.

STATIC_Bback to summary
private static final double[] STATIC_B

Propagation weights Butcher array.

STATIC_Cback to summary
private static final double[] STATIC_C

Time steps Butcher array.

Constructor Detail

MidpointIntegratorback to summary
public MidpointIntegrator(final double step)

Simple constructor. Build a midpoint integrator with the given step.

Parameters
step:double

integration step