Class MidpointIntegrator

All Implemented Interfaces:
FirstOrderIntegrator, ODEIntegrator

public class MidpointIntegrator extends RungeKuttaIntegrator
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
Version:
$Revision: 810196 $ $Date: 2009-09-01 21:47:46 +0200 (mar. 01 sept. 2009) $
See Also:
  • Constructor Details

    • MidpointIntegrator

      public MidpointIntegrator(double step)
      Simple constructor. Build a midpoint integrator with the given step.
      Parameters:
      step - integration step