org.spaceroots.mantissa.ode
Class MidpointIntegrator
java.lang.Object
org.spaceroots.mantissa.ode.RungeKuttaIntegrator
org.spaceroots.mantissa.ode.MidpointIntegrator
- All Implemented Interfaces:
- FirstOrderIntegrator
- 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
- Version:
- $Id: MidpointIntegrator.java 1709 2006-12-03 21:16:50Z luc $
- Author:
- L. Maisonobe
- See Also:
EulerIntegrator,
ClassicalRungeKuttaIntegrator,
GillIntegrator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidpointIntegrator
public MidpointIntegrator(double step)
- Simple constructor.
Build a midpoint integrator with the given step.
- Parameters:
step - integration step
getName
public 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
Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.